summaryrefslogtreecommitdiff
path: root/trans/new-fifo.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-11 05:23:35 +0000
committerMiles Bader <miles@gnu.org>1996-05-11 05:23:35 +0000
commit689b7d37999ed684ef99a7c7a668f2bf8df7bd17 (patch)
tree4783c394c6f7550301f4e426d8062f0315618eea /trans/new-fifo.c
parentb8a55374410ad71cbad7c89adb12ffcf1f570522 (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'trans/new-fifo.c')
-rw-r--r--trans/new-fifo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/trans/new-fifo.c b/trans/new-fifo.c
index b1bc731d..150121f6 100644
--- a/trans/new-fifo.c
+++ b/trans/new-fifo.c
@@ -160,7 +160,8 @@ fifo_trans_parse_args (struct fifo_trans *trans, int argc, char **argv,
case 's': trans->server = 1; break;
case 'U': trans->use_server = arg; break;
case 'S': trans->use_server = 0; break;
- default: return EINVAL;
+ default:
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}