summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-16 09:44:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-16 09:44:49 +0000
commit33cb598bdf73bee581cd4a8a55b53580c16066dc (patch)
treeb25582107f6944cc4d603858a4cebc4af184f201 /src/apk.c
parent50daa05773a66fc94fd459011f51544b8b6e0517 (diff)
downloadapk-tools-33cb598bdf73bee581cd4a8a55b53580c16066dc.tar.gz
apk-tools-33cb598bdf73bee581cd4a8a55b53580c16066dc.tar.bz2
apk-tools-33cb598bdf73bee581cd4a8a55b53580c16066dc.tar.xz
apk-tools-33cb598bdf73bee581cd4a8a55b53580c16066dc.zip
apk: short option for --root is -p
Used to be so in the really old days of apk.
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk.c b/src/apk.c
index 8040dd9..91b5450 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -97,7 +97,7 @@ static struct apk_applet *deduce_applet(int argc, char **argv)
#define NUM_GENERIC_OPTS 5
static struct option generic_options[32] = {
- { "root", required_argument, NULL, 'Q' },
+ { "root", required_argument, NULL, 'p' },
{ "repository", required_argument, NULL, 'X' },
{ "quiet", no_argument, NULL, 'q' },
{ "verbose", no_argument, NULL, 'v' },