Skip to content

Commit ad7809c

Browse files
committed
docs: add help text for --no-confirmation
1 parent 5706276 commit ad7809c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

openwrt/default.nix

+7-5
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,13 @@ let
204204
}
205205
206206
usage() {
207-
echo "usage: $(basename "$0") [options]"
208-
echo
209-
echo "options:"
210-
echo " --help Show this help"
211-
echo " --reload Reload/deploy config without rebooting"
207+
cat << EOF
208+
usage: $(basename "$0") [options]
209+
options:
210+
--help Show this help
211+
--reload Reload/deploy config without rebooting
212+
--no-confirmation Skip successful deployment confirmation
213+
EOF
212214
}
213215
214216
main() {

0 commit comments

Comments
 (0)