##### TODO
- * `grep TODO src/* tests/*`
* feature configurability
* is something still missing?
* documentation
.SH SYNOPSIS
.B vnstat
-.RB [ \-5bDedhlmqrstvw? ]
+.RB [ \-5bDedhlmqrstvwy? ]
.RB [ \-\-add ]
.RB [ \-\-begin
.IR date ]
.RB [ \-\-xml
.RI [ mode ]
.RI [ limit ]]
+.RB [ \-\-years
+.RI [ count ]]
.SH DESCRIPTION
Use short output mode. This mode is also used if more than one
database is available.
+.TP
+.B "--showconfig"
+Show current configuration using the same format as the configuration file
+itself uses.
+
.TP
.BI "--style " number
Modify the content and style of outputs. Set
can access.
.TP
-.BI "-tr " [time]
+.BI "-tr, --traffic " [time]
Calculate how much traffic goes through the selected interface during
the given
.I time
parameter can be used to limit the number results to a given number of most recent
entries.
+.TP
+.BI "-y, --years " [count]
+Show traffic statistics on a yearly basis for the last years. The list will show all
+entries by default unless configured otherwise or unless the optional
+.I count
+parameter is used. All entries stored in the database will also be shown if
+.I count
+is set to 0.
+
.TP
.B "-?, --help"
Show a command option summary.
.SH SYNOPSIS
.B vnstati
-.RB [ \-5bcdehimostv? ]
+.RB [ \-5bcdDehimostvy? ]
.RB [ \-\-altdate ]
.RB [ \-\-begin
.IR date ]
.RI [ count ]]
.RB [ \-\-dbdir
.IR directory ]
+.RB [ \-\-debug ]
.RB [ \-\-end
.IR date ]
.RB [ \-\-fiveminutes
.RB [ \-\-version ]
.RB [ \-vs ]
.RB [ \-\-vsummary ]
+.RB [ \-\-months
+.RI [ count ]]
.SH DESCRIPTION
as database directory instead of using the directory specified in the configuration
file or the hardcoded default if no configuration file is available.
+.TP
+.B "-D, --debug"
+Show additional debug output.
+
.TP
.BI "-e, --end " date
End the list output with a specific date / time defined by
.B "-vs, --vsummary"
Output traffic summary including hourly data bar graph using a vertical layout.
+.TP
+.BI "-y, --years " [count]
+Output traffic statistics on a yearly basis for the last years. The list will show all
+entries by default unless configured otherwise or unless the optional
+.I count
+parameter is used. All entries stored in the database will also be shown if
+.I count
+is set to 0.
+
.TP
.B "-?, --help"
Show a command option summary.