code: func AddCommand(f Flag, sig os.Signal, handler SignalHandlerFunc) {
  	if f != nil {
  		AddFlag(f, sig)
  	}
  	if handler != nil {
  		SetSigHandler(handler, sig)
  	}
  }
docs: // AddCommand is wrapper on AddFlag and SetSigHandler functions.