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

Man pages: zpool/zfs get parameters are optional #7914

Closed
wants to merge 1 commit into from
Closed

Man pages: zpool/zfs get parameters are optional #7914

wants to merge 1 commit into from

Conversation

GregorKopka
Copy link
Contributor

@GregorKopka GregorKopka commented Sep 16, 2018

Motivation and Context

The 'pool' parameter for zpool get and the 'dataset' parameter for
zfs get are optional, but the man pages listed them as mandatory.

Description

Marked the parameters in the respective man pages as optional to make
them reflect the actual behaviour.

Signed-off-by: Gregor Kopka gregor@kopka.net

### Motivation and Context
The 'pool' parameter for `zpool get` and the 'dataset' parameter for `zfs get` are optional, but the man pages listed them as mandatory.

### Description
Marked the (man zpool: get) pool and (man zfs: get) dataset parameter as optional.

### How Has This Been Tested?

### Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Performance enhancement (non-breaking change which improves efficiency)
- [ ] Code cleanup (non-breaking change which makes code smaller or more readable)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [X] Documentation (a change to man pages or other documentation)

### Checklist:
- [ ] My code follows the ZFS on Linux [code style requirements](https://github.com/zfsonlinux/zfs/blob/master/.github/CONTRIBUTING.md#coding-conventions).
- [X] I have updated the documentation accordingly.
- [X] I have read the [**contributing** document](https://github.com/zfsonlinux/zfs/blob/master/.github/CONTRIBUTING.md).
- [ ] I have added [tests](https://github.com/zfsonlinux/zfs/tree/master/tests) to cover my changes.
- [ ] All new and existing tests passed.
- [ ] All commit messages are properly formatted and contain [`Signed-off-by`](https://github.com/zfsonlinux/zfs/blob/master/.github/CONTRIBUTING.md#signed-off-by).
- [ ] Change has been approved by a ZFS on Linux member.

Signed-off-by: Gregor Kopka <gregor@kopka.net>
@GregorKopka GregorKopka changed the title Man8 zpool/zfs get - pool/dataset parameters are optional Man pages: zpool/zfs get parameters are optional Sep 16, 2018
@GregorKopka
Copy link
Contributor Author

GregorKopka commented Sep 16, 2018

I find it a bit silly that the template for the pull request description dosn't seem to be compatible with the buildbot STYLE check (lines to long).

Cut down the title and the description.
Please restart the style check, it should pass now.

@rincebrain
Copy link
Contributor

I find it a bit silly that the template for the pull request description dosn't seem to be compatible with the buildbot STYLE check (lines to long).

The template is for the pull request itself, not for the commit(s).

@GregorKopka
Copy link
Contributor Author

GregorKopka commented Sep 16, 2018

Well then... time for me to start from scratch, isn't it?
Sorry for wasting your time.

@GregorKopka
Copy link
Contributor Author

@behlendorf could the linking from #7912 to here be a typo?

@behlendorf
Copy link
Contributor

@GregorKopka yes, sorry about that I made a typo which accidentally linked it.

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.

3 participants