File: cmd_help.t

package info (click to toggle)
sysbench 1.0.20%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,840 kB
  • sloc: ansic: 11,830; sh: 1,752; xml: 736; makefile: 195
file content (15 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  $ sysbench help
  sysbench * (glob)
  
  FATAL: Cannot find benchmark 'help': no such built-in test, file or module
  [1]

  $ cat >cmd_help.lua <<EOF
  > function help()
  >   print('function help()')
  > end
  > EOF
  $ sysbench cmd_help.lua help
  sysbench * (glob)
  
  function help()