Browse Source

update helptext to clarify adding links

Nick Sweeting 5 years ago
parent
commit
f373df7bd4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      archivebox/main.py

+ 3 - 3
archivebox/main.py

@@ -377,11 +377,11 @@ def init(force: bool=False, out_dir: str=OUTPUT_DIR) -> None:
     else:
         print('{green}[√] Done. A new ArchiveBox collection was initialized ({} links).{reset}'.format(len(all_links), **ANSI))
     print()
-    print('    {lightred}Hint:{reset}To view your archive index, open:'.format(**ANSI))
-    print('        {}'.format(os.path.join(out_dir, HTML_INDEX_FILENAME)))
+    print('    {lightred}Hint:{reset} To view your archive index, run:'.format(**ANSI))
+    print('        archivebox server  # then visit http://127.0.0.1:8000')
     print()
     print('    To add new links, you can run:')
-    print("        archivebox add 'https://example.com'")
+    print("        archivebox add ~/some/path/or/url/to/list_of_links.txt")
     print()
     print('    For more usage and examples, run:')
     print('        archivebox help')