mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Default output to stdout as the man page suggests.
This commit is contained in:
parent
30e3c0fa25
commit
8428fde517
1 changed files with 1 additions and 3 deletions
|
|
@ -141,7 +141,7 @@ main(int argc, char **argv)
|
|||
cfg_lv = 0xff;
|
||||
cfg_in = -2;
|
||||
cfg_cg = -2;
|
||||
out_file = NULL;
|
||||
out_file = "-";
|
||||
|
||||
while ((ch = getopt(argc, argv, "g:i:l:o:")) != -1) {
|
||||
switch (ch) {
|
||||
|
|
@ -184,8 +184,6 @@ main(int argc, char **argv)
|
|||
if (argc != 1)
|
||||
usage();
|
||||
device = *argv;
|
||||
if (out_file == NULL)
|
||||
errx(1, "out_file not specified");
|
||||
|
||||
/*
|
||||
* Now we try to guess the (raw)device name.
|
||||
|
|
|
|||
Loading…
Reference in a new issue