Project

General

Profile

Actions

Bug #4420

open

flowstat usage message is incorrect

Added by Yuri Pankov over 9 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2013-12-24
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

At least:

altair:yuri:~$ flowstat -?
flowstat: unrecognized option '-?'
usage: flowstat [-r | -t] [-i interval] [-l link] [flow]
       flowstat [-S] [-A] [-i interval] [-p] [ -o field[,...]]
                [-u R|K|M|G|T|P] [-l link] [flow]
       flowstat -h [-a] [-d] [-F format] [-s <DD/MM/YYYY,HH:MM:SS>]
                [-e <DD/MM/YYYY,HH:MM:SS>] -f <logfile> [<flow>]
altair:yuri:~$ flowstat -A -i 1
flowstat: the option -A is not compatible with -r, -t, -p, -o, -u, -i
altair:yuri:~$ flowstat -h -f logfile
flowstat: -h: invalid argument

Actions #1

Updated by Peter Tribble over 3 years ago

  • Assignee set to Peter Tribble

Perhaps restructuring the usage message, thinking more of -p, -A, and -h as distinct modes, would make it much clearer.

The -h error is misleading input validation; it's actually the -f that has an invalid argument.

Actions

Also available in: Atom PDF