-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move help strings to markdown files #4368
Comments
It doesn't appear to be possible to Convert to Issue with my permissions, I checked on multiple browsers and proved that it was working on a project where I have sufficient perms. |
Oh I hoped that would be possible. That's too bad. I'll figure out some other way to track this. In the meantime you can just create a PR and I'll update the list manually. |
We could just accept PRs that mention the utils they update and then we manually update, but that's not a great solution. Also, with a project like this, we get situations like this quite often, so I'd like to find a better solution. @sylvestre any ideas? |
What should be the order of the sections inside the markdown files? Currently half of the files use
and the other half:
|
Hmm good question. Both will work, but I think I prefer usage first, because that's also how it shows up in # numfmt
```
numfmt [OPTION]... [NUMBER]...
```
## About
Convert numbers from/to human-readable strings Do you have a preference one way or the other? |
My preference would be the same as in the online docs:
|
Ah I see, that would require a separate macro for the about text I suppose. I like that it enforces a strict format. Do you want to implement that? |
Yes. |
Looks like we are good ?! :) |
Wow, that's great! Thanks everyone! |
yeah, bravo :) |
After #2816 and #3180, we can move all the help strings to markdown files.
Below is a list of utils that need to be converted. Let's see if GitHub's task lists are useful here. All of them should be considered good-first-issues.
If you want to pick one up, for now just create a PR and we'll update this list.
Note that some utils (like
who
) have platform-specific help texts. We should probably leave those until we have a good solution for that.help_section
macro and use it fornumfmt
#3180)help_section
macro and use it fornumfmt
#3180)date
, move help strings to.md
file #4458)dd
: parse operands manually via positional args #3938)help_section
macro and use it fornumfmt
#3180)The text was updated successfully, but these errors were encountered: