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

feat(@angular/cli): add default value for options in help #17893

Open
wants to merge 1 commit into
base: master
from

Conversation

@kgajera
Copy link
Contributor

@kgajera kgajera commented Jun 10, 2020

Closes #17191

@googlebot googlebot added the cla: yes label Jun 10, 2020
@@ -115,6 +115,9 @@ export abstract class Command<T extends BaseCommandOptions = BaseCommandOptions>
if (o.description) {
this.logger.info(formatDescription(o.description));
}
if (o.default !== undefined) {
this.logger.info(' Default: ' + o.default);

This comment has been minimized.

@alan-agius4

alan-agius4 Jun 10, 2020
Collaborator

Can we add this on the same line as descriptions please? Similar to what is posted in the original request?

Thanks.

This comment has been minimized.

@kgajera

kgajera Jun 10, 2020
Author Contributor

Just made this change.

@kgajera kgajera force-pushed the kgajera:help-show-option-default-value branch from 598d80a to 792a5b3 Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.