Start reworking rpcclient to use popt rather than next_token to parse
authorMartin Pool <mbp@samba.org>
Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)
commitd85a25e733fe970ae96a02a5cbc892f2b8dca1b7
tree51fb46fe01a1b836e27fe2492ea19073cc403751
parent8e0d781995b56dd1cd348baadd494bb8e64c10bc
Start reworking rpcclient to use popt rather than next_token to parse
command lines.  This makes the code much simpler and also stops
trivial syntax errors from causing a crash.

Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
source/rpcclient/rpcclient.c