gave file argument a help description

This commit is contained in:
Micah Lee 2014-06-26 14:21:39 -04:00
parent b0e03e4a37
commit 4e3c32cbff

View File

@ -239,7 +239,7 @@ def main():
parser = argparse.ArgumentParser()
parser.add_argument('--local-only', action='store_true', dest='local_only', help='Do not attempt to use tor: for development only')
parser.add_argument('--stay-open', action='store_true', dest='stay_open', help='Keep hidden service running after download has finished')
parser.add_argument('filename', nargs=1)
parser.add_argument('filename', nargs=1, help='File to share')
args = parser.parse_args()
filename = os.path.abspath(args.filename[0])