summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
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;
}