summaryrefslogtreecommitdiff
path: root/libstore
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 /libstore
parentb8a55374410ad71cbad7c89adb12ffcf1f570522 (diff)
(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.
Diffstat (limited to 'libstore')
-rw-r--r--libstore/storecat.c2
-rw-r--r--libstore/storeread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstore/storecat.c b/libstore/storecat.c
index b1f4fa57..1c307965 100644
--- a/libstore/storecat.c
+++ b/libstore/storecat.c
@@ -99,7 +99,7 @@ main (int argc, char **argv)
break;
default:
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}
diff --git a/libstore/storeread.c b/libstore/storeread.c
index e5057a97..ea012727 100644
--- a/libstore/storeread.c
+++ b/libstore/storeread.c
@@ -90,7 +90,7 @@ main (int argc, char **argv)
case ARGP_KEY_NO_ARGS:
default:
- return EINVAL;
+ return ARGP_ERR_UNKNOWN;
}
return 0;
}