Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • apk-tools apk-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • apk-toolsapk-tools
  • Merge requests
  • !23

Revert "Update apk to make man pages sole source of truth"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ariadne Conill requested to merge ariadne/apk-tools:master into master Apr 22, 2020
  • Overview 8
  • Commits 1
  • Pipelines 0
  • Changes 20

This reverts commit b62d252b.

This change is reverted because it basically makes the tool completely obtuse and unusable for people who do not have the manpages installed. The reason why apk is a beloved package manager is because it is simple to use, but if you remove all guidance on how to use it, then nobody will know how to use it.

Man pages are good, but removing built-in help is not:

petrie:~/apk-tools$ LD_LIBRARY_PATH=src src/apk --help
apk-tools 2.10.4-91-g47053ed, compiled for x86_64.

usage: apk <COMMAND> [-h|--help] [-p|--root DIR] [-X|--repository REPO] [-q|--quiet] [-v|--verbose] [-i|--interactive] [-V|--version] [-f|--force] [--force-binary-stdout] [--force-broken-world] [--force-non-repository] [--force-old-apk] [--force-overwrite]
           [--force-refresh] [-U|--update-cache] [--progress] [--progress-fd FD] [--no-progress] [--purge] [--allow-untrusted] [--wait TIME] [--keys-dir KEYSDIR] [--repositories-file REPOFILE] [--no-network] [--no-cache] [--cache-dir CACHEDIR] [--cache-max-age AGE]
           [--arch ARCH] [--print-arch] [<args>...]

This apk has coffee making abilities.
Edited Apr 22, 2020 by Ariadne Conill
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master