github.com/btwiuse/jiri@v0.0.0-20191125065820-53353bcfef54/cmdline/testdata/repeated.go (about)

     1  // Copyright 2015 The Vanadium Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  import "github.com/btwiuse/jiri/cmdline"
     8  
     9  // cmdRepeated represents the repeated command.
    10  var cmdRepeated = &cmdline.Command{
    11  	Runner: cmdline.RunnerFunc(runRepeated),
    12  	Name:   "repeated",
    13  	Short:  "REPEATED SHOULD NEVER APPEAR",
    14  	Long:   "REPEATED SHOULD NEVER APPEAR.",
    15  }
    16  
    17  func runRepeated(env *cmdline.Env, _ []string) error {
    18  	return nil
    19  }
    20  
    21  func main() {
    22  	cmdline.Main(cmdRepeated)
    23  }