On 07/24/2012 11:18 AM, Osier Yang wrote:
Commands to manage secret are moved from virsh.c to virsh-secret.c,
with a few helpers for secret command use.
* virsh.c: Remove secret commands and helper (vshCommandOptSecret).
* virsh-secret.c: New file, filled with secret commands and its helper.
---
tools/virsh-secret.c | 358 ++++++++++++++++++++++++++++++++++++++++++++++++++
tools/virsh.c | 340 +-----------------------------------------------
2 files changed, 360 insertions(+), 338 deletions(-)
create mode 100644 tools/virsh-secret.c
diff --git a/tools/virsh-secret.c b/tools/virsh-secret.c
new file mode 100644
index 0000000..9ec3186
--- /dev/null
+++ b/tools/virsh-secret.c
@@ -0,0 +1,358 @@
+/*
+ * virsh-domain.c: Commands to manage secret
s/domain/secret/
ACK with the filename fixed,
Martin