On 4/19/24 15:05, Peter Krempa wrote:
Shorten the function name as there isn't any
vshCommandOptString.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tools/virsh-backup.c | 4 +-
tools/virsh-checkpoint.c | 8 +-
tools/virsh-completer-domain.c | 2 +-
tools/virsh-completer-host.c | 8 +-
tools/virsh-domain-event.c | 2 +-
tools/virsh-domain-monitor.c | 10 +-
tools/virsh-domain.c | 248 ++++++++++++++++-----------------
tools/virsh-host.c | 40 +++---
tools/virsh-interface.c | 6 +-
tools/virsh-network.c | 26 ++--
tools/virsh-nodedev.c | 30 ++--
tools/virsh-nwfilter.c | 8 +-
tools/virsh-pool.c | 64 ++++-----
tools/virsh-secret.c | 10 +-
tools/virsh-snapshot.c | 14 +-
tools/virsh-util.c | 2 +-
tools/virsh-volume.c | 29 ++--
tools/virsh.c | 2 +-
tools/virt-admin.c | 22 +--
tools/vsh.c | 10 +-
tools/vsh.h | 2 +-
21 files changed, 273 insertions(+), 274 deletions(-)
diff --git a/tools/vsh.h b/tools/vsh.h
index eeba1d4b3c..a51140eeee 100644
--- a/tools/vsh.h
+++ b/tools/vsh.h
@@ -265,7 +265,7 @@ int vshCommandOptULWrap(vshControl *ctl, const vshCmd *cmd,
int vshCommandOptStringQuiet(vshControl *ctl, const vshCmd *cmd,
const char *name, const char **value)
ATTRIBUTE_NONNULL(4) G_GNUC_WARN_UNUSED_RESULT;
-int vshCommandOptStringReq(vshControl *ctl, const vshCmd *cmd,
+int vshCommandOptString(vshControl *ctl, const vshCmd *cmd,
const char *name, const char **value)
Indentation.
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
ATTRIBUTE_NONNULL(4) G_GNUC_WARN_UNUSED_RESULT;
Michal