4242
4343Options:
4444
45- -a
46- --extract-all
47- Extract all strings.
48-
4945 -d name
5046 --default-domain=name
5147 Rename the default output file from messages.pot to name.pot.
@@ -473,8 +469,8 @@ def main():
473469 try :
474470 opts , args = getopt .getopt (
475471 sys .argv [1 :],
476- 'ad :DEhk:Kno:p:S:Vvw:x:X:' ,
477- ['extract-all' , ' default-domain=' , 'escape' , 'help' ,
472+ 'd :DEhk:Kno:p:S:Vvw:x:X:' ,
473+ ['default-domain=' , 'escape' , 'help' ,
478474 'keyword=' , 'no-default-keywords' ,
479475 'add-location' , 'no-location' , 'output=' , 'output-dir=' ,
480476 'style=' , 'verbose' , 'version' , 'width=' , 'exclude-file=' ,
@@ -489,7 +485,6 @@ class Options:
489485 GNU = 1
490486 SOLARIS = 2
491487 # defaults
492- extractall = 0 # FIXME: currently this option has no effect at all.
493488 escape = 0
494489 keywords = []
495490 outpath = ''
@@ -511,8 +506,6 @@ class Options:
511506 for opt , arg in opts :
512507 if opt in ('-h' , '--help' ):
513508 usage (0 )
514- elif opt in ('-a' , '--extract-all' ):
515- options .extractall = 1
516509 elif opt in ('-d' , '--default-domain' ):
517510 options .outfile = arg + '.pot'
518511 elif opt in ('-E' , '--escape' ):
0 commit comments