Index: usr.sbin/gstat/gstat.8 =================================================================== --- usr.sbin/gstat/gstat.8 +++ usr.sbin/gstat/gstat.8 @@ -98,7 +98,8 @@ Only display physical providers (those with rank of 1). .El .Sh INTERACTIVE COMMANDS -These commands are currently recognized if +All command line arguments work interactively. +These commands are recognized if .Nm is not running in batch mode: .Bl -tag -width indent Index: usr.sbin/gstat/gstat.c =================================================================== --- usr.sbin/gstat/gstat.c +++ usr.sbin/gstat/gstat.c @@ -539,9 +539,15 @@ if (flag_I < 1000) flag_I = 1000; break; + case 'a': + flag_a = !flag_a; + break; case 'c': flag_c = !flag_c; break; + case 'd': + flag_d = !flag_d; + break; case 'f': move(0,0); clrtoeol(); @@ -578,9 +584,18 @@ case 'F': f_s[0] = '\0'; break; + case 'o': + flag_o = !flag_o; + break; + case 'p': + flag_p = !flag_p; + break; case 'q': quit = 1; break; + case 's': + flag_s = !flag_s; + break; default: break; }