aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpass.c')
-rw-r--r--src/lpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpass.c b/src/lpass.c
index d1ee817..a466d5d 100644
--- a/src/lpass.c
+++ b/src/lpass.c
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
struct cmd_struct *ptr = get_cmd(argv[1]);
if(ptr)
- return ptr->func(argc, argv);
+ return ptr->func(--argc, ++argv);
- return cmd_showtree(argc, argv);
+ return cmd_showtree(--argc, ++argv);
} \ No newline at end of file