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

Added custom_attribute_type_display dcm module #100

Merged
merged 6 commits into from
Mar 16, 2016

Conversation

cappaberra
Copy link
Contributor

No description provided.

$options = parse_options($options);

// Return the usage summary if we need to
if ($options['help'] or (!$options['id'] and !$options['name'])) {
Copy link
Member

Choose a reason for hiding this comment

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

I think the and here should be an or

Synopsis: custom_attribute_type_display

Where:
id=ID custom attribute type ID
Copy link
Member

Choose a reason for hiding this comment

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

A more common convention of documenting this is to do the following:

name=NAME or ID Name or ID of the Custom Attribute type

This also implies that you would just use name= and then pass in the name and optionally the ID.. This does change the logic a bit

mattpascoe added a commit that referenced this pull request Mar 16, 2016
Added custom_attribute_type_display dcm module
@mattpascoe mattpascoe merged commit 1e4b268 into opennetadmin:master Mar 16, 2016
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