Explorar el Código

fix: Update error message for oneshot command

Co-authored-by: Nick Sweeting <[email protected]>
Cristian Vargas hace 5 años
padre
commit
b2a318c5eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      archivebox/cli/archivebox_oneshot.py

+ 1 - 1
archivebox/cli/archivebox_oneshot.py

@@ -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)