Print this page
4459 Typo in itadm(1m) usage message: delete-inititator


 102 
 103 static char d_tgt[] = "itadm delete-target [-f] target-node-name";
 104 
 105 static char l_tgt[] = "itadm list-target [-v] [target-node-name]";
 106 
 107 static char c_tpg[] = "itadm create-tpg tpg-name IP-address[:port] \
 108 [IP-address[:port]] [...]";
 109 
 110 static char l_tpg[] = "itadm list-tpg [-v] [tpg-name]";
 111 
 112 static char d_tpg[] = "itadm delete-tpg [-f] tpg-name";
 113 
 114 static char c_ini[] = "itadm create-initiator [-s] [-S chap-secret-path] \
 115 [-u chap-username] initiator-node-name";
 116 
 117 static char m_ini[] = "itadm modify-initiator [-s] [-S chap-secret-path] \
 118 [-u chap-username] initiator-node-name";
 119 
 120 static char l_ini[] = "itadm list-initiator [-v] initiator-node-name";
 121 
 122 static char d_ini[] = "itadm delete-inititator initiator-node-name";
 123 
 124 static char m_def[] = "itadm modify-defaults [-a radius|chap|none] \
 125 [-r IP-address[:port]] [-d] [-D radius-secret-path] [-i enable|disable] \
 126 [-I IP-address[:port][,IP-adddress[:port]]]";
 127 
 128 static char l_def[] = "itadm list-defaults";
 129 
 130 
 131 /* keep the order of this enum in the same order as the 'subcmds' struct */
 132 typedef enum {
 133         CREATE_TGT,
 134         MODIFY_TGT,
 135         DELETE_TGT,
 136         LIST_TGT,
 137         CREATE_TPG,
 138         DELETE_TPG,
 139         LIST_TPG,
 140         CREATE_INI,
 141         MODIFY_INI,
 142         LIST_INI,




 102 
 103 static char d_tgt[] = "itadm delete-target [-f] target-node-name";
 104 
 105 static char l_tgt[] = "itadm list-target [-v] [target-node-name]";
 106 
 107 static char c_tpg[] = "itadm create-tpg tpg-name IP-address[:port] \
 108 [IP-address[:port]] [...]";
 109 
 110 static char l_tpg[] = "itadm list-tpg [-v] [tpg-name]";
 111 
 112 static char d_tpg[] = "itadm delete-tpg [-f] tpg-name";
 113 
 114 static char c_ini[] = "itadm create-initiator [-s] [-S chap-secret-path] \
 115 [-u chap-username] initiator-node-name";
 116 
 117 static char m_ini[] = "itadm modify-initiator [-s] [-S chap-secret-path] \
 118 [-u chap-username] initiator-node-name";
 119 
 120 static char l_ini[] = "itadm list-initiator [-v] initiator-node-name";
 121 
 122 static char d_ini[] = "itadm delete-initiator initiator-node-name";
 123 
 124 static char m_def[] = "itadm modify-defaults [-a radius|chap|none] \
 125 [-r IP-address[:port]] [-d] [-D radius-secret-path] [-i enable|disable] \
 126 [-I IP-address[:port][,IP-adddress[:port]]]";
 127 
 128 static char l_def[] = "itadm list-defaults";
 129 
 130 
 131 /* keep the order of this enum in the same order as the 'subcmds' struct */
 132 typedef enum {
 133         CREATE_TGT,
 134         MODIFY_TGT,
 135         DELETE_TGT,
 136         LIST_TGT,
 137         CREATE_TPG,
 138         DELETE_TPG,
 139         LIST_TPG,
 140         CREATE_INI,
 141         MODIFY_INI,
 142         LIST_INI,