Revision 46118ed2 autotools/build-bash-completion

b/autotools/build-bash-completion
668 668

  
669 669
#: serialised kind to arg type
670 670
_ARG_MAP = {
671
  "choices": cli.ArgChoice,
671 672
  "command": cli.ArgCommand,
672 673
  "file": cli.ArgFile,
673 674
  "host": cli.ArgHost,
......
677 678
  "onenode": cli.ArgNode,
678 679
  "oneos": cli.ArgOs,
679 680
  "string": cli.ArgUnknown,
681
  "suggests": cli.ArgSuggest,
680 682
  }
681 683

  
682 684

  
......
724 726
    env = {}
725 727
    script_name = os.path.basename(script)
726 728
    func_name = script_name
729
  func_name = func_name.replace("-", "_")
727 730
  output = utils.RunCmd([cmd, "--help-completion"], env=env, cwd=".").output
728 731
  cli_opts = []
729 732
  args = []
......
781 784
                  not options.compact,
782 785
                  opts=burnin.OPTIONS, args=burnin.ARGUMENTS)
783 786

  
787
  # ganeti-cleaner
788
  WriteHaskellCompletion(sw, "daemons/ganeti-cleaner", htools=False,
789
                         debug=not options.compact)
790

  
784 791
  # htools, if enabled
785 792
  if _autoconf.HTOOLS:
786 793
    for script in _autoconf.HTOOLS_PROGS:

Also available in: Unified diff