feat: allow tailing a specific number of log lines

This commit is contained in:
Jose Diaz-Gonzalez
2021-10-26 22:27:15 -04:00
parent 29f1f3dd3d
commit 88e6d790e1
4 changed files with 20 additions and 9 deletions

View File

@@ -202,6 +202,9 @@ fn-help-subcommand-args() {
elif [[ "$arg" == *_LIST ]]; then
arg=${arg%_*}
args+=" <${arg//_/-}...>"
elif [[ "$arg" == *_OPTIONAL ]]; then
argName="${arg/_OPTIONAL/}"
args+=" [<${argName//_/-}>]"
else
args+=" <${arg//_/-}>"
fi