diff options
author | Daniel Roberson <daniel@planethacker.net> | 2018-04-19 11:12:00 -0700 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2018-05-14 14:10:07 +0200 |
commit | d7209265e9164b1699177552832e6e88e530dc9f (patch) | |
tree | ab33a1621dec3b236557f1083e2897db5534c0a9 /staging/cli_cmds.c | |
parent | 3b282c9a69f04bf338af5243c56e45cb99b201b1 (diff) |
netsniff-ng: add date format strings to --out
This adds the ability to use date(1)/strftime(3) style format strings
when specifying an output file.
Example:
netsniff-ng --out %Y-%m-%d.pcap ### outputs to 2018-04-20.pcap
Fixes #158
Signed-off-by: Daniel Roberson <daniel@planethacker.net>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_cmds.c')
0 files changed, 0 insertions, 0 deletions