[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Wed Aug 17 07:15:01 UTC 2022


The branch, master has been updated
       via  123f1c07c41 s3:utils remove documentation of -l as alias for --long
       via  563a2c8d729 waf: Fix SO version number of libsamba-errors
      from  ddbf1b29eee manpages: add smbstatus option --json with sample output

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 123f1c07c41b40de6a9d53599d3d9a42f1a5e92b
Author: Christian Ambach <ambi at samba.org>
Date:   Mon Aug 15 23:30:23 2022 +0200

    s3:utils remove documentation of -l as alias for --long
    
    This was removed in 94fc9ca4c506468ab1907d501c0964d67b9d963c, so remove it from
    the usage output and manpage.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15145
    
    Signed-off-by: Christian Ambach <ambi at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Wed Aug 17 07:14:21 UTC 2022 on sn-devel-184

commit 563a2c8d7296e77ae12de1c5a1a3797e72294068
Author: Andreas Schneider <asn at samba.org>
Date:   Wed Aug 10 13:55:48 2022 +0200

    waf: Fix SO version number of libsamba-errors
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15141
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Alexander Bokovoy <ab at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 docs-xml/manpages/net.8.xml   | 14 +++++++-------
 libcli/util/wscript_build     |  2 +-
 source3/utils/net_usershare.c | 16 ++++++++--------
 3 files changed, 16 insertions(+), 16 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages/net.8.xml b/docs-xml/manpages/net.8.xml
index 557cf0d0883..497a8114057 100644
--- a/docs-xml/manpages/net.8.xml
+++ b/docs-xml/manpages/net.8.xml
@@ -118,7 +118,7 @@
 		</varlistentry>
 
 		<varlistentry>
-		<term>-l|--long</term>
+		<term>--long</term>
 		<listitem><para>
 		When listing data, give more information on each item.
 		</para></listitem>
@@ -2139,8 +2139,8 @@ can create user defined shares on demand using the commands below.
 <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>
@@ -2209,7 +2209,7 @@ any users currently connected to the deleted share.
 </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.
@@ -2219,7 +2219,7 @@ Get info on user defined shares owned by the current user matching the given pat
 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>
 
@@ -2239,7 +2239,7 @@ modified by the "net usershare add" command.
 </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.
@@ -2249,7 +2249,7 @@ List all the user defined shares owned by the current user matching the given pa
 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>
 
diff --git a/libcli/util/wscript_build b/libcli/util/wscript_build
index 9c8fddca94b..4267cfeb57e 100644
--- a/libcli/util/wscript_build
+++ b/libcli/util/wscript_build
@@ -10,7 +10,7 @@ bld.SAMBA_LIBRARY('samba-errors',
                   deps='gnutls',
                   # private_library=True,
                   pc_files=[],
-                  vnum='1',
+                  vnum='1.0.0',
                   )
 
 bld.SAMBA_GENERATOR('ntstatus_generated',
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index 50db771deb3..5e630ea5d4a 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -70,7 +70,7 @@ static int net_usershare_add_usage(struct net_context *c, int argc, const char *
 {
 	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"
@@ -82,7 +82,7 @@ static int net_usershare_add_usage(struct net_context *c, int argc, const char *
 		"\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;
 }
@@ -98,10 +98,10 @@ static int net_usershare_delete_usage(struct net_context *c, int argc, const cha
 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;
 }
@@ -109,10 +109,10 @@ static int net_usershare_info_usage(struct net_context *c, int argc, const char
 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;
 }
@@ -122,8 +122,8 @@ int net_usershare_usage(struct net_context *c, int argc, const char **argv)
 	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"));
 


-- 
Samba Shared Repository



More information about the samba-cvs mailing list