File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11"""bgst is a command line client to BigStash.co
22
33Usage:
4- bgst put [-i IGNORE] [-t TITLE] [--silent] [--dont-wait] FILES...
4+ bgst put [--ignore-file IGNORE] [-t TITLE] [--silent] [--dont-wait] FILES...
55 bgst settings [--user=USERNAME] [--password=PASSWORD]
66 bgst settings --reset
77 bgst list [--limit=NUMBER]
2222 --reset Remove saved configuration, revoke
2323 authentication token.
2424 --limit=NUMBER Show up to NUMBER results. [default: 10]
25- -i, -- ignore=IGNORE Path to a .gitignore like file.
25+ -- ignore-file =IGNORE Path to a .gitignore like file.
2626"""
2727
2828from __future__ import print_function
@@ -200,8 +200,9 @@ def bgst_put(args, settings):
200200 opt_dont_wait = False if not args ['--dont-wait' ] else True
201201 upload = None
202202 filepaths = map (smart_str , args ['FILES' ])
203- if args ['--ignore' ]:
204- setup_user_ignore (args ['--ignore' ])
203+ ignorefile = args ['--ignore-file' ]
204+ if ignorefile :
205+ setup_user_ignore (ignorefile )
205206 manifest , errors , ignored = Manifest .from_paths (
206207 paths = filepaths , title = title )
207208 ignored_msg = ''
You can’t perform that action at this time.
0 commit comments