Skip to content

Commit

Permalink
print environment_variable.allowed in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Dec 22, 2023
1 parent 4fe17b7 commit 989892d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bashly/views/environment_variable/usage.gtx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
> printf " %s\n" "{{ usage_string(extended: true).color(:environment_variable) }}"
> printf "{{ help.wrap(76).indent(4).sanitize_for_print }}\n"

if allowed
> printf " {{ strings[:allowed] % { values: allowed.join(', ') } }}\n"
end

if default
> printf " {{ strings[:default] % { value: default } }}\n"
end
Expand Down

0 comments on commit 989892d

Please sign in to comment.