Skip to content
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

Improve man page #107

Merged
merged 2 commits into from
Oct 3, 2020
Merged

Improve man page #107

merged 2 commits into from
Oct 3, 2020

Conversation

kurahaupo
Copy link

The "piped to" description is flat wrong, because "kill" doesn't read anything from stdin.
Saying that one command line option "selects" another is weird; "implies" would be clearer, both times it's mentioned.

Also added some examples.

@masatake masatake self-assigned this Sep 27, 2020
Lsof.8 Outdated
# reload anything using old SSL
lsof -t /lib/*/libssl.so.* | xargs -r kill -HUP

# get list of processes and then iterate over them
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that one extra white space is at the start of the line. Could you remove it for aligning.

@masatake
Copy link
Contributor

masatake commented Oct 2, 2020

Thank you.

Please, unify the two commits, b5acab5 and 7e8a2fa into one commit.

Could you use "man page: " as the prefix for the commits?
This helps me to update 00DIST file.

@kurahaupo kurahaupo force-pushed the patch-1 branch 2 times, most recently from 3bb7496 to 9248da1 Compare October 3, 2020 08:50
@masatake
Copy link
Contributor

masatake commented Oct 3, 2020

Do you allow me to rearrange the commits?

I guess you are using GitHub's web UI. It may be hard to reflect my comments to your change with the UI.

@kurahaupo kurahaupo force-pushed the patch-1 branch 3 times, most recently from e3fbaf6 to c2cdd73 Compare October 3, 2020 09:03
(The "kill" command doesn't read stdin, so anything _piped to_ it would be ignored.)
@kurahaupo
Copy link
Author

Done. (And properly attributed the commits to my normal public persona.)

@masatake masatake merged commit 775097b into lsof-org:master Oct 3, 2020
@masatake
Copy link
Contributor

masatake commented Oct 3, 2020

Thank you.

@masatake
Copy link
Contributor

masatake commented Oct 3, 2020

Putting examples to the man page is a good idea.

@kurahaupo kurahaupo deleted the patch-1 branch October 3, 2020 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants