mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
add new flag to usage()
This commit is contained in:
parent
b01b43d5d8
commit
57c727e3cd
1 changed files with 2 additions and 1 deletions
|
@ -24,9 +24,10 @@ pat_empty = re.compile( p_empty, re.DOTALL | re.MULTILINE )
|
|||
def usage(msg=''):
|
||||
print
|
||||
if not '' == msg: print 'Error:', msg
|
||||
print "usage:", sys.argv[0], "[-l lang]* [-g]"
|
||||
print "usage:", sys.argv[0], "[-l lang]* [-g] [-n]"
|
||||
print ' [-l lang]* # include in list of langs compared'
|
||||
print ' [-g] # generate dummy nodes where missing'
|
||||
print ' [-n] # generate new/missing nodes only'
|
||||
sys.exit(0)
|
||||
|
||||
def load_strings(lang=''):
|
||||
|
|
Loading…
Reference in a new issue