git lp-propose does not have help but git-lp-propose has

Bug #1871528 reported by Patrick Wu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad tooling for Git
Won't Fix
Undecided
Unassigned

Bug Description

Right now when I use `git-lp-propose --help`, it will print help properly; but when I use the git alias `git lp-propose --help`, it shows error "No manual entry for git-lp-propose" (following output is in Esperanto):

"""
patrick@ubuntu:/media/psf/Home/Git/_ubuntu/wslu$ git-lp-propose --help
usage: Propose MP for the current git branch.

positional arguments:
  merge_target Target branch for the merge proposal. It can be
                        specified as a git "remote[/branch]" ref or a
                        Launchpad URL "[lp:]~user/project/+git/repo:branch".
                        It defaults to the project target branch on Launchpad,
                        or to the git remote/merge configs for the branch, if
                        set.

optional arguments:
  -h, --help show this help message and exit
  -m MESSAGE, --message MESSAGE
                        Commit message for the merge proposal.
  --dry-run Don't actually create the merge proposal.
  --verbose, -v Show more detailed logs
patrick@ubuntu:/media/psf/Home/Git/_ubuntu/wslu$ git lp-propose --help
Neniu manlibra elemento por git-lp-propose
patrick@ubuntu:/media/psf/Home/Git/_ubuntu/wslu$
"""

I am using the snap version b9b9618 with revision 36.

Revision history for this message
Adam Collard (adam-collard) wrote :

This is a limitation of snaps that they can't ship man pages - https://forum.snapcraft.io/t/support-for-man-pages/2299

git will look, by default for a man page for the command, and even if we were to ship one in the snap, it wouldn't be available in the default paths that man looks in.

Changed in gitlptools:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.