mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-18 17:14:39 -04:00
fix: Update error message for oneshot command
Co-authored-by: Nick Sweeting <git@sweeting.me>
This commit is contained in:
parent
a8c74730f8
commit
b2a318c5eb
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def main(args: Optional[List[str]]=None, stdin: Optional[IO]=None, pwd: Optional
|
||||||
stdin_url = accept_stdin(stdin)
|
stdin_url = accept_stdin(stdin)
|
||||||
if (stdin_url and url) or (not stdin and not url):
|
if (stdin_url and url) or (not stdin and not url):
|
||||||
stderr(
|
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',
|
color='red',
|
||||||
)
|
)
|
||||||
raise SystemExit(2)
|
raise SystemExit(2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue