summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-04-13 19:16:40 (EDT)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-04-13 19:16:40 (EDT)
commit4fc11f66f297250e52b6bc6b2ce63c2597fd65e8 (patch)
tree4c15fcda75c09b44f11158529af5ae3d3e9d144f /src
parent517ebc96f447796f0cb3e102761e98a8afaa504c (diff)
Don't try to print cmd_name before its initialised. From Amanous, Issue #48.
git-svn-id: http://opkg.googlecode.com/svn/trunk@528 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'src')
-rw-r--r--src/opkg-cl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opkg-cl.c b/src/opkg-cl.c
index 448387e..ae63012 100644
--- a/src/opkg-cl.c
+++ b/src/opkg-cl.c
@@ -274,8 +274,6 @@ main(int argc, char *argv[])
opts = args_parse(argc, argv);
if (opts == argc || opts < 0) {
- fprintf (stderr, "%s: unknown sub-command %s\n", argv[0],
- cmd_name);
fprintf(stderr, "opkg must have one sub-command argument\n");
usage();
}