[libvirt-cmdref PATCH] Adding Documentation for cd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The documentation for command cd did not have information about the command. Added the required information.
---
 source/cd.xml | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/source/cd.xml b/source/cd.xml
index 78a13df..d15c74c 100644
--- a/source/cd.xml
+++ b/source/cd.xml
@@ -9,16 +9,46 @@
     </text>
   </description>
 
-  <options />
+  <options>
+   <parameter requirement="optional">
+     <keyword requirement="optional">--dir</keyword>
+     <value type="string" requirement="optional">path</value>
+     <description>
+       <text> 
+          directory to switch to (default: home or else root)
+       </text>
+       <text>
+	  --dir itself is optional
+       </text>
+     </description>  
+    </parameter>
+  </options>
 
   <availability from="0.7.0" />
  
   <notes />
  
-  <examples type="usage" />
+  <examples type="usage" >
+   <example>
+    <terminal>
+virsh # <bold> cd </bold> <value>/tmp</value> </terminal>
+    <text>
+	    Changes the current working directory to <value> /tmp </value>
+    </text>
+   </example>
+  </examples>
 
   <examples type="fullcontext" />
 
-  <reference type="seealso" />
-
+  <reference type="seealso" >
+   <item>
+    <link type="internal" href="pwd"/>
+    <name>
+	 pwd
+    </name>
+    <description>
+	 Displays the current directory
+    </description>
+   </item>
+  </reference>
 </command>
-- 
1.9.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]