Skip to content

Commit 0f95b45

Browse files
committed
"Generate NUM fresh UUIDs."
1 parent ff6dc1c commit 0f95b45

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Doc/library/uuid.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ The following options are accepted:
377377
The name used as part of generating the uuid. Only required for
378378
:func:`uuid3` / :func:`uuid5` functions.
379379

380-
.. option:: --count <count>
380+
.. option:: -c <NUM>
381+
--count <NUM>
381382

382-
Generate more uuids in loop.
383+
Generate NUM fresh UUIDs.
383384

384385

385386
.. _uuid-example:

Lib/uuid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,8 +949,8 @@ def main():
949949
parser.add_argument("-N", "--name",
950950
help="The name used as part of generating the uuid. "
951951
"Only required for uuid3/uuid5 functions.")
952-
parser.add_argument("--count", type=int, default=1,
953-
help="Generate more uuids in loop. ")
952+
parser.add_argument("-c", "--count", metavar="NUM", type=int, default=1,
953+
help="Generate NUM fresh UUIDs.")
954954

955955
args = parser.parse_args()
956956
uuid_func = uuid_funcs[args.uuid]

0 commit comments

Comments
 (0)