summaryrefslogtreecommitdiff
path: root/cliutils.h
AgeCommit message (Collapse)AuthorFilesLines
2011-09-05Make --pipe command failures reflect our exit codes (RhBug:735481)Panu Matilainen1-1/+1
2010-08-20Argh. Realize we already have equivalents of initCli() and finishCli()Panu Matilainen1-7/+3
- rpmcliInit() and rpmcliFini() do almost exactly the same as our newborn cli-helpers, but they've been almost unused until now. Use them and lose the new ones.. doh. - The downside is that popt aliases are now broken when running commands from the build tree due to lt-foo in argv[0], whereas initCli() took and explicit popt context name argument. Oh well... - rpmcliFini() was missing several necessary memory cleanup calls, add them there while at it.
2010-08-20Move --pipe handling to cliutils helpersPanu Matilainen1-0/+4
2010-08-20Lump much of the common cli-init + finish tasks into cliutils helpersPanu Matilainen1-0/+7
2010-08-20Add a convenience library for stuff common cli-bits intoPanu Matilainen1-0/+13