// CleanHelperArgs removes the helper process arguments
CleanHelperArgs removes the helper process arguments
// CleanHelperArgs removes the helper process arguments
func CleanHelperArgs(helperArgs []string) []string {
	args := os.Args
	for len(args) > 0 {
		if args[0] == "--" {
			args = args[1:]
			break
		}
		args = args[1:]
	}
	if len(args) == 0 {
		fmt.Fprintf(os.Stderr, "No command\n")
		os.Exit(2)
	}
	return args
}
func CleanHelperArgs ( helperArgs [ ] string ) [ ] string { args := os . Args for len ( args ) > 0 { if args [ 0 ] == " " { args = args [ 1 : ] break } args = args [ 1 : ] } if len ( args ) == 0 { fmt . Fprintf ( os . Stderr , " \n " ) os . Exit ( 2 ) } return args }
CleanHelperArgs removes the helper process arguments
CleanHelperArgs removes the helper process arguments