Fix SourceForge bug #864524: Say if too few arguments passed to alias.
authorMichael Poole <mdpoole@troilus.org>
Sat, 5 Jul 2008 11:51:06 +0000 (07:51 -0400)
committerMichael Poole <mdpoole@troilus.org>
Sat, 5 Jul 2008 11:51:06 +0000 (07:51 -0400)
commitb448c437dc53a540124d5e10e257d84a4c9415d2
treec7213e503dd8df6b10b73ce1527b12f3ec4feeeb
parent86c9e39c1f1a9b8839aac983c91c18b3a581b3e5
Fix SourceForge bug #864524: Say if too few arguments passed to alias.

src/modcmd.c (svccmd_expand_alias): If the lower bound is past the end of
     the argument list, return -1.
  (svccmd_invoke_argv): Detect that and report it as needing more params.
src/modcmd.c