]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
samba-tool: fix documentation for timestamp format specifiers master
authorBjörn Jacke <bjacke@samba.org>
Mon, 11 May 2026 08:54:07 +0000 (10:54 +0200)
committerBjoern Jacke <bjacke@samba.org>
Tue, 12 May 2026 11:19:12 +0000 (11:19 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16076

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>
Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Tue May 12 11:19:12 UTC 2026 on atb-devel-224

python/samba/netcmd/user/readpasswords/show.py

index 1cdec890faf0fb7359f6f9ef4f7fd30c80d922ba..e2870d8dc353219687a9de286521e1ccdd0dde53 100644 (file)
@@ -58,7 +58,7 @@ by adding ";format=formatSpecifier" to the requested attribute name, whereby
 The following format specifiers are available:
   - GeneralizedTime (e.g. 20210224113259.0Z)
   - UnixTime        (e.g. 1614166392)
-  - TimeSpec        (e.g. 161416639.267546892)
+  - TimeSpec        (e.g. 1614166392.267546892)
 
 Attributes with an original NTTIME value of 0 and 9223372036854775807 are
 treated as non-existing value.
@@ -101,8 +101,10 @@ specified format:
         Option("--attributes",
                help=("Comma separated list of attributes, "
                      "which will be printed. "
-                     "Possible supported virtual attributes: "
-                     "virtualGeneralizedTime, virtualUnixTime, virtualTimeSpec."),
+                     "Possible format specifiers for timestamp attributes are: "
+                     "GeneralizedTime, UnixTime, TimeSpec. The format specifier "
+                     "needs to be appended like ';format=UnixTime' "
+                     "to the desired attribute."),
                type=str, dest="user_attrs"),
     ]