Skip to content

Commit

Permalink
Add browse --daemon option to browse help.
Browse files Browse the repository at this point in the history
  • Loading branch information
xwmx committed Feb 6, 2024
1 parent c32c720 commit 2b1eb62
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5935,7 +5935,7 @@ Usage:
nb bookmark (open | peek | url) (<id> | <filename> | <path> | <title>)
nb bookmark (edit | delete) (<id> | <filename> | <path> | <title>)
nb bookmark search <query>
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
nb browse add [<notebook>:][<folder-path>/][<filename>]
Expand Down Expand Up @@ -6545,7 +6545,7 @@ Shortcut Aliases:

```text
Usage:
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
nb browse add [<notebook>:][<folder-path>/][<filename>]
Expand All @@ -6565,11 +6565,12 @@ Subcommands:

Options:
-c, --content <content> Add content to the new note.
--daemon Start the web server. Close with <CTRL-C>.
-g, --gui Open in the system's primary GUI web browser.
-n, --notebooks Browse notebooks.
-p, --print Print to standard output.
-q, --query <query> Open to the search results for <query>.
-s, --serve Start the web application server.
-s, --serve Start the web server. Close with any key.
-t, --tag <tag> Search for a tag.
--tags <tag1>,<tag2>... A comma-separated list of tags.
-t, --title <title> Add a title to the new note.
Expand Down
7 changes: 4 additions & 3 deletions docs/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5941,7 +5941,7 @@ Usage:
nb bookmark (open | peek | url) (<id> | <filename> | <path> | <title>)
nb bookmark (edit | delete) (<id> | <filename> | <path> | <title>)
nb bookmark search <query>
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
nb browse add [<notebook>:][<folder-path>/][<filename>]
Expand Down Expand Up @@ -6551,7 +6551,7 @@ Shortcut Aliases:

```text
Usage:
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
nb browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
nb browse add [<notebook>:][<folder-path>/][<filename>]
Expand All @@ -6571,11 +6571,12 @@ Subcommands:

Options:
-c, --content <content> Add content to the new note.
--daemon Start the web server. Close with <CTRL-C>.
-g, --gui Open in the system's primary GUI web browser.
-n, --notebooks Browse notebooks.
-p, --print Print to standard output.
-q, --query <query> Open to the search results for <query>.
-s, --serve Start the web application server.
-s, --serve Start the web server. Close with any key.
-t, --tag <tag> Search for a tag.
--tags <tag1>,<tag2>... A comma-separated list of tags.
-t, --title <title> Add a title to the new note.
Expand Down
7 changes: 4 additions & 3 deletions nb
Original file line number Diff line number Diff line change
Expand Up @@ -4309,7 +4309,7 @@ $(_color_primary "Usage"):
${_ME} bookmark (edit | delete | open | peek | url)
([<notebook>:][<folder-path>/][<id> | <filename> | <title>])
${_ME} bookmark search <query>
${_ME} browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
${_ME} browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
${_ME} browse add [<notebook>:][<folder-path>/][<filename>]
Expand Down Expand Up @@ -19191,7 +19191,7 @@ _alias_subcommand "archive" "ar"
_describe_browse() {
cat <<HEREDOC
$(_color_primary "Usage"):
${_ME} browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>]
${_ME} browse [<notebook>:][<folder-path>/][<id> | <filename> | <title>] [--daemon]
[-g | --gui] [-n | --notebooks] [-p | --print] [-q | --query <query>]
[-s | --serve] [-t <tag> | --tag <tag> | --tags <tag1>,<tag2>...]
${_ME} browse add [<notebook>:][<folder-path>/][<filename>]
Expand All @@ -19211,11 +19211,12 @@ $(_color_primary "Subcommands"):

$(_color_primary "Options"):
-c, --content <content> Add content to the new note.
--daemon Start the web server. Close with <CTRL-C>.
-g, --gui Open in the system's primary GUI web browser.
-n, --notebooks Browse notebooks.
-p, --print Print to standard output.
-q, --query <query> Open to the search results for <query>.
-s, --serve Start the web application server.
-s, --serve Start the web server. Close with any key.
-t, --tag <tag> Search for a tag.
--tags <tag1>,<tag2>... A comma-separated list of tags.
-t, --title <title> Add a title to the new note.
Expand Down

0 comments on commit 2b1eb62

Please sign in to comment.