1
0
Fork 0
mirror of synced 2024-09-28 15:21:32 +12:00

fix: Update error message for oneshot command

Co-authored-by: Nick Sweeting <git@sweeting.me>
This commit is contained in:
Cristian Vargas 2020-07-31 10:51:54 -05:00 committed by GitHub
parent a8c74730f8
commit b2a318c5eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
stdin_url = accept_stdin(stdin)
if (stdin_url and url) or (not stdin and not url):
stderr(
'[X] You must pass URL/path to add via stdin or CLI arguments.\n',
'[X] You must pass a URL/path to add via stdin or CLI arguments.\n',
color='red',
)
raise SystemExit(2)