@@ -16,13 +16,13 @@ def parse():
1616 optional = parser .add_argument_group ('optional' )
1717 optional .add_argument ('-l' , '--list' , action = 'store_true' , help = 'Only print snapshots (opt range in y)' )
1818 optional .add_argument ('-e' , '--explicit' , action = 'store_true' , help = 'Search only for the explicit given url' )
19- optional .add_argument ('-o' , '--output' , type = str , help = 'Output folder' )
19+ optional .add_argument ('-o' , '--output' , type = str , help = 'Output folder defaults to current directory ' )
2020 optional .add_argument ('-r' , '--range' , type = int , help = 'Range in years to search' )
2121 optional .add_argument ('--start' , type = int , help = 'Start timestamp format: YYYYMMDDhhmmss' )
2222 optional .add_argument ('--end' , type = int , help = 'End timestamp format: YYYYMMDDhhmmss' )
2323
2424 special = parser .add_argument_group ('special' )
25- special .add_argument ('--csv' , action = 'store_true ' , help = 'Save a csv file with the list of snapshots inside the output folder' )
25+ special .add_argument ('--csv' , type = str , nargs = '? ' , const = True , help = 'Save a csv file on a given path or defaults to the output folder' )
2626 special .add_argument ('--no-redirect' , action = 'store_true' , help = 'Do not follow redirects by archive.org' )
2727 special .add_argument ('--verbosity' , type = str , default = "standard" , choices = ["standard" , "progress" , "json" ], help = 'Verbosity level' )
2828 special .add_argument ('--retry' , type = int , default = 0 , metavar = "X-TIMES" , help = 'Retry failed downloads (opt tries as int, else infinite)' )
0 commit comments