Jira (PUP-8444) Have "puppet man" default to "--help" when run without arguments

2 views
Skip to first unread message

Jacob Helwig (JIRA)

unread,
Feb 9, 2018, 4:44:03 PM2/9/18
to puppe...@googlegroups.com
Jacob Helwig created an issue
 
Puppet / Task PUP-8444
Have "puppet man" default to "--help" when run without arguments
Issue Type: Task Task
Assignee: Unassigned
Created: 2018/02/09 1:43 PM
Fix Versions: PUP 5.y
Priority: Normal Normal
Reporter: Jacob Helwig

Currently, puppet man without any arguments generates an error message.

% be ./bin/puppet man
Error: puppet man man takes 1 argument, but you gave 0
Error: Try 'puppet help man man' for usage

This should, instead, show the puppet man --help output.

% be ./bin/puppet man --help
 
 
USAGE: puppet man <action>
 
This subcommand displays manual pages for all Puppet subcommands. If the
`ronn` gem (<https://github.com/rtomayko/ronn/>) is installed on your
system, puppet man will display fully-formatted man pages. If `ronn` is not
available, puppet man will display the raw (but human-readable) source text
in a pager.
 
OPTIONS:
  --render-as FORMAT             - The rendering format to use.
  --verbose                      - Whether to log verbosely.
  --debug                        - Whether to log debug information.
 
ACTIONS:
  man    Display the manual page for a Puppet subcommand.
 
See 'puppet man man' or 'man puppet-man' for full help.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)
Atlassian logo

Eric Delaney (JIRA)

unread,
Feb 9, 2018, 7:05:03 PM2/9/18
to puppe...@googlegroups.com

Eric Delaney (JIRA)

unread,
Feb 9, 2018, 7:07:02 PM2/9/18
to puppe...@googlegroups.com
Eric Delaney updated an issue
Change By: Eric Delaney
Sprint: Platform Core Hopper KANBAN

Josh Cooper (JIRA)

unread,
Feb 12, 2018, 7:40:02 PM2/12/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 5.y
Fix Version/s: PUP 5.4.z

Eric Delaney (JIRA)

unread,
Feb 14, 2018, 2:35:03 PM2/14/18
to puppe...@googlegroups.com
Eric Delaney commented on Task PUP-8444
 
Re: Have "puppet man" default to "--help" when run without arguments

Things to test:

PAGER=cat bundle exec puppet man
PAGER=cat bundle exec puppet man man
PAGER=cat bundle exec puppet man man man
PAGER=cat bundle exec puppet man cert
PAGER=cat bundle exec puppet man ca
PAGER=cat bundle exec puppet man crazy
PAGER=cat bundle exec puppet man --help

Jacob Helwig (JIRA)

unread,
Feb 15, 2018, 11:47:01 AM2/15/18
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Feb 16, 2018, 6:45:03 PM2/16/18
to puppe...@googlegroups.com

Jorie Tappa (JIRA)

unread,
Feb 23, 2018, 11:50:03 AM2/23/18
to puppe...@googlegroups.com

Eric Delaney (JIRA)

unread,
Feb 23, 2018, 1:43:05 PM2/23/18
to puppe...@googlegroups.com

Eric Delaney (JIRA)

unread,
Feb 23, 2018, 1:45:03 PM2/23/18
to puppe...@googlegroups.com
Eric Delaney updated an issue
Change By: Eric Delaney
Release Notes Summary: The 'puppet man' command processes its command line arguments and prints better useful error messages.
Release Notes: Not Needed Bug Fix

Eric Delaney (JIRA)

unread,
Feb 23, 2018, 1:48:02 PM2/23/18
to puppe...@googlegroups.com
Eric Delaney updated an issue
Change By: Eric Delaney
Release Notes Summary: The 'puppet man' command processes its command line arguments and now prints better useful error messages.

Craig Gomes (JIRA)

unread,
Feb 26, 2018, 5:05:03 PM2/26/18
to puppe...@googlegroups.com
Craig Gomes assigned an issue to Kris Bosland
Change By: Craig Gomes
Assignee: Eric Delaney Kris Bosland

John Duarte (JIRA)

unread,
Oct 21, 2019, 10:57:08 AM10/21/19
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Risk Assessment: Needs Assessment No Action
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages