</varlistentry>
<varlistentry>
- <term>-l|--long</term>
+ <term>--long</term>
<listitem><para>
When listing data, give more information on each item.
</para></listitem>
<simplelist>
<member>net usershare add sharename path [comment [acl] [guest_ok=[y|n]]] - to add or change a user defined share.</member>
<member>net usershare delete sharename - to delete a user defined share.</member>
-<member>net usershare info [-l|--long] [wildcard sharename] - to print info about a user defined share.</member>
-<member>net usershare list [-l|--long] [wildcard sharename] - to list user defined shares.</member>
+<member>net usershare info [--long] [wildcard sharename] - to print info about a user defined share.</member>
+<member>net usershare list [--long] [wildcard sharename] - to list user defined shares.</member>
</simplelist>
</para>
</refsect3>
<refsect3>
-<title>USERSHARE INFO <replaceable>[-l|--long]</replaceable> <replaceable>[wildcard sharename]</replaceable></title>
+<title>USERSHARE INFO <replaceable>[--long]</replaceable> <replaceable>[wildcard sharename]</replaceable></title>
<para>
Get info on user defined shares owned by the current user matching the given pattern, or all users.
net usershare info on its own dumps out info on the user defined shares that were
created by the current user, or restricts them to share names that match the given
wildcard pattern ('*' matches one or more characters, '?' matches only one character).
-If the '-l' or '--long' option is also given, it prints out info on user defined
+If the '--long' option is also given, it prints out info on user defined
shares created by other users.
</para>
</refsect3>
<refsect3>
-<title>USERSHARE LIST <replaceable>[-l|--long]</replaceable> <replaceable>wildcard sharename</replaceable></title>
+<title>USERSHARE LIST <replaceable>[--long]</replaceable> <replaceable>wildcard sharename</replaceable></title>
<para>
List all the user defined shares owned by the current user matching the given pattern, or all users.
net usershare list on its own list out the names of the user defined shares that were
created by the current user, or restricts the list to share names that match the given
wildcard pattern ('*' matches one or more characters, '?' matches only one character).
-If the '-l' or '--long' option is also given, it includes the names of user defined
+If the '--long' option is also given, it includes the names of user defined
shares created by other users.
</para>
{
char chr = *lp_winbind_separator();
d_printf(_(
- "net usershare add [-l|--long] <sharename> <path> [<comment>] [<acl>] [<guest_ok=[y|n]>]\n"
+ "net usershare add [--long] <sharename> <path> [<comment>] [<acl>] [<guest_ok=[y|n]>]\n"
"\tAdds the specified share name for this user.\n"
"\t<sharename> is the new share name.\n"
"\t<path> is the path on the filesystem to export.\n"
"\t\tname may be a domain user or group. For local users use the local server name "
"instead of \"DOMAIN\"\n"
"\t\tThe default acl is \"Everyone:r\" which allows everyone read-only access.\n"
- "\tAdd -l or --long to print the info on the newly added share.\n"),
+ "\tAdd --long to print the info on the newly added share.\n"),
chr, chr );
return -1;
}
static int net_usershare_info_usage(struct net_context *c, int argc, const char **argv)
{
d_printf(_(
- "net usershare info [-l|--long] [wildcard sharename]\n"
+ "net usershare info [--long] [wildcard sharename]\n"
"\tPrints out the path, comment and acl elements of shares that match the wildcard.\n"
"\tBy default only gives info on shares owned by the current user\n"
- "\tAdd -l or --long to apply this to all shares\n"
+ "\tAdd --long to apply this to all shares\n"
"\tOmit the sharename or use a wildcard of '*' to see all shares\n"));
return -1;
}
static int net_usershare_list_usage(struct net_context *c, int argc, const char **argv)
{
d_printf(_(
- "net usershare list [-l|--long] [wildcard sharename]\n"
+ "net usershare list [--long] [wildcard sharename]\n"
"\tLists the names of all shares that match the wildcard.\n"
"\tBy default only lists shares owned by the current user\n"
- "\tAdd -l or --long to apply this to all shares\n"
+ "\tAdd --long to apply this to all shares\n"
"\tOmit the sharename or use a wildcard of '*' to see all shares\n"));
return -1;
}
d_printf(_("net usershare add <sharename> <path> [<comment>] [<acl>] [<guest_ok=[y|n]>] to "
"add or change a user defined share.\n"
"net usershare delete <sharename> to delete a user defined share.\n"
- "net usershare info [-l|--long] [wildcard sharename] to print info about a user defined share.\n"
- "net usershare list [-l|--long] [wildcard sharename] to list user defined shares.\n"
+ "net usershare info [--long] [wildcard sharename] to print info about a user defined share.\n"
+ "net usershare list [--long] [wildcard sharename] to list user defined shares.\n"
"net usershare help\n"
"\nType \"net usershare help <option>\" to get more information on that option\n\n"));