Skip to content

Commit 989892d

Browse files
committed
print environment_variable.allowed in usage
1 parent 4fe17b7 commit 989892d

File tree

1 file changed

+4
-0
lines changed
  • lib/bashly/views/environment_variable

1 file changed

+4
-0
lines changed

lib/bashly/views/environment_variable/usage.gtx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
> printf " %s\n" "{{ usage_string(extended: true).color(:environment_variable) }}"
44
> printf "{{ help.wrap(76).indent(4).sanitize_for_print }}\n"
55

6+
if allowed
7+
> printf " {{ strings[:allowed] % { values: allowed.join(', ') } }}\n"
8+
end
9+
610
if default
711
> printf " {{ strings[:default] % { value: default } }}\n"
812
end

0 commit comments

Comments
 (0)