Skip to content

Commit

Permalink
Hide default value column of usage
Browse files Browse the repository at this point in the history
To reduce the number of characters and compatibility with the original
  • Loading branch information
hisaitami committed Nov 1, 2023
1 parent 054b97a commit ef04bda
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tldr.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@

(def cli-options [["-v" nil "print verbose output"
:id :verbose
:default false]
:default false
:default-desc ""]
[nil "--version" "print version and exit"]
["-h" "--help" "print this help and exit"]
["-u" "--update" "update local database"]
Expand All @@ -165,6 +166,7 @@
["-p" "--platform PLATFORM"
"select platform, supported are common / linux / osx / sunos / windows"
:default-fn default-platform
:default-desc ""
:validate [#(contains? #{"common" "linux" "osx" "sunos" "windows"} %)
"supported are common / linux / osx / sunos / windows"]]
[nil, "--linux" "show command page for Linux"]
Expand All @@ -174,7 +176,8 @@
["-r" "--render PATH" "render a local page for testing purposes"
:validate [#(io/exists? %) "file does not exist"]]
["-C", "--color" "force color display"
:default false]
:default false
:default-desc ""]
[nil, "--random" "show a random command"]])

(def version "tldr.cljs v0.6.8")
Expand Down

0 comments on commit ef04bda

Please sign in to comment.