mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NET] Add help text for the NET LOCALGROUP command
This commit is contained in:
parent
38791299ca
commit
ff9c737acc
10 changed files with 198 additions and 43 deletions
|
@ -242,7 +242,16 @@ cmdLocalGroup(
|
|||
{
|
||||
if (_wcsicmp(argv[i], L"/help") == 0)
|
||||
{
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP);
|
||||
ConResPuts(StdOut, IDS_GENERIC_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_1);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_2);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_3);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_4);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_5);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_6);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_7);
|
||||
ConResPuts(StdOut, IDS_GENERIC_PAGE);
|
||||
return 0;
|
||||
}
|
||||
else if (_wcsicmp(argv[i], L"/add") == 0)
|
||||
|
|
|
@ -102,7 +102,13 @@ INT cmdHelp(INT argc, WCHAR **argv)
|
|||
if (_wcsicmp(argv[2], L"LOCALGROUP") == 0)
|
||||
{
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_SYNTAX);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_1);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_2);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_3);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_4);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_5);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_6);
|
||||
ConResPuts(StdOut, IDS_LOCALGROUP_HELP_7);
|
||||
ConResPuts(StdOut, IDS_GENERIC_PAGE);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -105,7 +105,27 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
|
||||
groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
|
||||
groupname name [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -108,7 +108,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [grupo [/COMMENT:""texto""]] [/DOMAIN]\n\
|
||||
grupo {/ADD [/COMMENT:""texto""] | /DELETE} [/DOMAIN]\n\
|
||||
grupo nombre [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -111,7 +111,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [nume-de-grup [/COMMENT:""text""]] [/DOMAIN]\n\
|
||||
nume-de-grup {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
|
||||
nume-de-grup nume [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -107,7 +107,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [имя_группы [/COMMENT:""текст""]] [/DOMAIN]\n\
|
||||
имя_группы {/ADD [/COMMENT:""текст""] | /DELETE} [/DOMAIN]\n\
|
||||
имя_группы имя [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -107,7 +107,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [takım adı [/COMMENT:""metin""]] [/DOMAIN]\n\
|
||||
takım adı {/ADD [/COMMENT:""metin""] | /DELETE} [/DOMAIN]\n\
|
||||
takım adı ad [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -107,7 +107,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [groupname [/COMMENT:""text""]] [/DOMAIN]\n\
|
||||
groupname {/ADD [/COMMENT:""text""] | /DELETE} [/DOMAIN]\n\
|
||||
groupname name [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -107,7 +107,26 @@ message and suggested actions you can take to solve the problem.\n\n"
|
|||
IDS_LOCALGROUP_SYNTAX "NET LOCALGROUP [組名 [/COMMENT:""文字""]] [/DOMAIN]\n\
|
||||
組名 {/ADD [/COMMENT:""文字""] | /DELETE} [/DOMAIN]\n\
|
||||
組名稱 [...] {/ADD | /DELETE} [/DOMAIN]\n\n"
|
||||
IDS_LOCALGROUP_HELP "LOCALGROUP\n...\n\n"
|
||||
IDS_LOCALGROUP_HELP_1 "NET LOCALGROUP modifies local groups on computers. When used without\n\
|
||||
options, it displays the local groups on the computer.\n\n"
|
||||
IDS_LOCALGROUP_HELP_2 "groupname Is the name of the local group to add, expand, or\n\
|
||||
delete. Supply only a groupname to view a list of\n\
|
||||
users or global groups in a local group.\n"
|
||||
IDS_LOCALGROUP_HELP_3 "/COMMENT:""text"" Adds a comment for a new or existing group.\n\
|
||||
Enclose the text inquotation marks.\n"
|
||||
IDS_LOCALGROUP_HELP_4 "/DOMAIN Performs the operation on a domain controller\n\
|
||||
of the current domain. Otherwise, the operation is \n\
|
||||
performed on the local computer.\n"
|
||||
IDS_LOCALGROUP_HELP_5 "name [ ...] List one or more usernames or groupnams to add or to\n\
|
||||
remove from a local group. Separate multiple entries with\n\
|
||||
a space. Names may be users or global groups, but not\n\
|
||||
other local groups. If a user is from another doamin,\n\
|
||||
preface the username with the domain name (for\n\
|
||||
example, SALES\\RALPHR).\n"
|
||||
IDS_LOCALGROUP_HELP_6 "/ADD Adds a groupname or username to a local group. An account\n\
|
||||
must be established for users or global groups added to a\n\
|
||||
local group with this command.\n"
|
||||
IDS_LOCALGROUP_HELP_7 "/DELETE Removes a groupname or username from a local group.\n\n"
|
||||
IDS_NAME_SYNTAX "NET NAME ...\n\n"
|
||||
IDS_NAME_HELP "NAME\n...\n\n"
|
||||
IDS_PRINT_SYNTAX "NET PRINT ...\n\n"
|
||||
|
|
|
@ -37,40 +37,46 @@
|
|||
#define IDS_HELPMSG_HELP_1 134
|
||||
#define IDS_HELPMSG_HELP_2 135
|
||||
#define IDS_LOCALGROUP_SYNTAX 136
|
||||
#define IDS_LOCALGROUP_HELP 137
|
||||
#define IDS_NAME_SYNTAX 138
|
||||
#define IDS_NAME_HELP 139
|
||||
#define IDS_PAUSE_SYNTAX 140
|
||||
#define IDS_PAUSE_HELP_1 141
|
||||
#define IDS_PAUSE_HELP_2 142
|
||||
#define IDS_PRINT_SYNTAX 143
|
||||
#define IDS_PRINT_HELP 144
|
||||
#define IDS_SEND_SYNTAX 145
|
||||
#define IDS_SEND_HELP 146
|
||||
#define IDS_SESSION_SYNTAX 147
|
||||
#define IDS_SESSION_HELP 148
|
||||
#define IDS_SHARE_SYNTAX 149
|
||||
#define IDS_SHARE_HELP 150
|
||||
#define IDS_START_SYNTAX 151
|
||||
#define IDS_START_HELP_1 152
|
||||
#define IDS_START_HELP_2 153
|
||||
#define IDS_START_HELP_3 154
|
||||
#define IDS_STATISTICS_SYNTAX 155
|
||||
#define IDS_STATISTICS_HELP_1 156
|
||||
#define IDS_STATISTICS_HELP_2 157
|
||||
#define IDS_STOP_SYNTAX 158
|
||||
#define IDS_STOP_HELP_1 159
|
||||
#define IDS_STOP_HELP_2 160
|
||||
#define IDS_STOP_HELP_3 161
|
||||
#define IDS_TIME_SYNTAX 162
|
||||
#define IDS_TIME_HELP 163
|
||||
#define IDS_USE_SYNTAX 164
|
||||
#define IDS_USE_HELP 165
|
||||
#define IDS_USER_SYNTAX 166
|
||||
#define IDS_USER_HELP 167
|
||||
#define IDS_VIEW_SYNTAX 168
|
||||
#define IDS_VIEW_HELP 169
|
||||
#define IDS_NET_SYNTAX 170
|
||||
#define IDS_LOCALGROUP_HELP_1 137
|
||||
#define IDS_LOCALGROUP_HELP_2 138
|
||||
#define IDS_LOCALGROUP_HELP_3 139
|
||||
#define IDS_LOCALGROUP_HELP_4 140
|
||||
#define IDS_LOCALGROUP_HELP_5 141
|
||||
#define IDS_LOCALGROUP_HELP_6 142
|
||||
#define IDS_LOCALGROUP_HELP_7 143
|
||||
#define IDS_NAME_SYNTAX 144
|
||||
#define IDS_NAME_HELP 145
|
||||
#define IDS_PAUSE_SYNTAX 146
|
||||
#define IDS_PAUSE_HELP_1 147
|
||||
#define IDS_PAUSE_HELP_2 148
|
||||
#define IDS_PRINT_SYNTAX 149
|
||||
#define IDS_PRINT_HELP 150
|
||||
#define IDS_SEND_SYNTAX 151
|
||||
#define IDS_SEND_HELP 152
|
||||
#define IDS_SESSION_SYNTAX 153
|
||||
#define IDS_SESSION_HELP 154
|
||||
#define IDS_SHARE_SYNTAX 155
|
||||
#define IDS_SHARE_HELP 156
|
||||
#define IDS_START_SYNTAX 157
|
||||
#define IDS_START_HELP_1 158
|
||||
#define IDS_START_HELP_2 159
|
||||
#define IDS_START_HELP_3 160
|
||||
#define IDS_STATISTICS_SYNTAX 161
|
||||
#define IDS_STATISTICS_HELP_1 162
|
||||
#define IDS_STATISTICS_HELP_2 163
|
||||
#define IDS_STOP_SYNTAX 164
|
||||
#define IDS_STOP_HELP_1 165
|
||||
#define IDS_STOP_HELP_2 166
|
||||
#define IDS_STOP_HELP_3 167
|
||||
#define IDS_TIME_SYNTAX 168
|
||||
#define IDS_TIME_HELP 169
|
||||
#define IDS_USE_SYNTAX 170
|
||||
#define IDS_USE_HELP 171
|
||||
#define IDS_USER_SYNTAX 172
|
||||
#define IDS_USER_HELP 173
|
||||
#define IDS_VIEW_SYNTAX 174
|
||||
#define IDS_VIEW_HELP 175
|
||||
#define IDS_NET_SYNTAX 176
|
||||
|
||||
#define IDS_ACCOUNTS_FORCE_LOGOFF 200
|
||||
#define IDS_ACCOUNTS_LOGOFF_SECONDS 201
|
||||
|
|
Loading…
Reference in a new issue