File: helper2man

package info (click to toggle)
python-can 4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,372 kB
  • sloc: python: 25,840; makefile: 38; sh: 20
file content (12 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

module=${0##*can_}

case "$1" in
  -h|--help)
     python3 -m can.${module} --help
     ;;
  -v|--version)
     echo "${DEB_VERSION_UPSTREAM}"
     ;;
esac