blob: dfd8ebd4081f484e6d97b152125a29432084a0c9 [file] [edit]
// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package a
// A Flag represents the state of a flag.
type Flag struct {
Name string // name as it appears on command line
Usage string // help message
Value any // value as set
DefValue string // default value (as text); for usage message
}