GeezerVison is showing github.com — GH-88597: Rename uuid's new CLI args to be in line with uuidgen. by achhina · Pull Request #101248 · python/cpython
Conversation
achhina
commented
Jan 22, 2023
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Follow-up patch in regards to the proposed changes mentioned here.
❯ ./python.exe -m uuid -h
usage: uuid.py [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-n NAMESPACE] [-N NAME]
Generates a uuid using the selected uuid function.
options:
-h, --help show this help message and exit
-u {uuid1,uuid3,uuid4,uuid5}, --uuid {uuid1,uuid3,uuid4,uuid5}
The function to use to generate the uuid. By default uuid4 function is used.
-n NAMESPACE, --namespace NAMESPACE
The namespace is a UUID, or '@ns' where 'ns' is a well-known predefined UUID addressed by namespace name. Such as @dns,
@url, @oid, and @x500. Only required for uuid3/uuid5 functions.
-N NAME, --name NAME The name used as part of generating the uuid. Only required for uuid3/uuid5 functions.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Hi @gpshead, would you be able to take a look at this when you get a chance?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I think this looks good, I looped @serhiy-storchaka in to see if he's got any more suggestions.
|
achhina reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
gpshead
changed the title
GH-88597: Rename uuid cli args and parameters to be in line with uuidgen.
GH-88597: Rename uuid's new CLI args to be in line with uuidgen.
Jan 23, 2023
mdboom
pushed a commit
to mdboom/cpython
that referenced
this pull request
Jan 31, 2023
python#101248)
this way they match an existing uuidgen command line tool.
Reviewers
gpshead
gpshead approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|