diff --git a/inc/status.inc b/inc/status.inc index 4c008eb2..abef4bfc 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -756,7 +756,19 @@ REPLCHECK(){ } STATUS_SCANTIMES(){ - echo + while [ $# -gt 0 ]; do + case "${1}" in + -l|-last) LAST=${2};; + -h|-help|--help) + echo -e "Usage: ${idsCL[Yellow]}[nodemgmt or nmg] scantimes {opt}${idsCL[Default]} {" + width=35 + printf "%-${width}s- %s\n" " -l|-last" "(number of last scantimes to average from, defaults to 480)" + echo -e "}\n" + exit 0;; + esac + shift + done + }