mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 23:09:42 -05:00
gave file argument a help description
This commit is contained in:
parent
b0e03e4a37
commit
4e3c32cbff
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user