mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
virsh: Do not require \n in vshDebug messages
Having to put a newline at the end of each debug message in virsh has always felt strange. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
1 parent
2fb76aeae6
commit
644f56f9d5
12 files changed
+57
-57
No files matched your search
+1
-1
@@ -1332,7 +1332,7 @@ vshAdmParseArgv(vshControl *ctl, int argc, char **argv)
|
||||
/* parse command */
|
||||
ctl->imode = false;
|
||||
if (argc - optind == 1) {
|
||||
vshDebug(ctl, VSH_ERR_INFO, "commands: \"%s\"\n", argv[optind]);
|
||||
vshDebug(ctl, VSH_ERR_INFO, "commands: \"%s\"", argv[optind]);
|
||||
return vshCommandStringParse(ctl, argv[optind], NULL);
|
||||
} else {
|
||||
return vshCommandArgvParse(ctl, argc - optind, argv + optind);
|
||||
|
||||
Reference in new issue
Block a user