File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -85,15 +85,15 @@ def get_parser() -> argparse.ArgumentParser:
8585 parser = argparse .ArgumentParser (prog = "griffe" , add_help = False )
8686 parser .add_argument (
8787 "-A" ,
88- "--async-loader " ,
88+ "--async" ,
8989 action = "store_true" ,
9090 help = "Whether to read files on disk asynchronously. "
9191 "Very large projects with many files will be processed faster. "
9292 "Small projects with a few files will not see any speed up." ,
9393 )
9494 parser .add_argument (
95- "-a " ,
96- "--append- sys-path" ,
95+ "-y " ,
96+ "--sys-path" ,
9797 action = "store_true" ,
9898 help = "Whether to append sys.path to search paths specified with -s." ,
9999 )
@@ -144,6 +144,8 @@ def get_parser() -> argparse.ArgumentParser:
144144 "-o" ,
145145 "--output" ,
146146 default = sys .stdout ,
147+ help = "Output file. Supports templating to output each package in its own file, with {package}." ,
148+ )
147149 parser .add_argument (
148150 "-r" ,
149151 "--resolve-aliases" ,
@@ -208,7 +210,7 @@ def main(args: list[str] | None = None) -> int: # noqa: WPS231
208210 per_package_output = True
209211
210212 search = opts .search
211- if opts .append_sys_path :
213+ if opts .sys_path :
212214 search .extend (sys .path )
213215
214216 try :
You can’t perform that action at this time.
0 commit comments