Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jkieboom committed Jun 15, 2024
1 parent ef356de commit 30073cd
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 146 deletions.
274 changes: 134 additions & 140 deletions flags.go

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions ini.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,18 @@ func (i *IniParser) ParseFile(filename string) error {
//
// The format of the ini file is as follows:
//
// [Option group name]
// option = value
// [Option group name]
// option = value
//
// Each section in the ini file represents an option group or command in the
// flags parser. The default flags parser option group (i.e. when using
// flags.Parse) is named 'Application Options'. The ini option name is matched
// in the following order:
//
// 1. Compared to the ini-name tag on the option struct field (if present)
// 2. Compared to the struct field name
// 3. Compared to the option long name (if present)
// 4. Compared to the option short name (if present)
// 1. Compared to the ini-name tag on the option struct field (if present)
// 2. Compared to the struct field name
// 3. Compared to the option long name (if present)
// 4. Compared to the option short name (if present)
//
// Sections for nested groups and commands can be addressed using a dot `.'
// namespacing notation (i.e [subcommand.Options]). Group section names are
Expand Down
1 change: 1 addition & 0 deletions optstyle_other.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows || forceposix
// +build !windows forceposix

package flags
Expand Down
1 change: 1 addition & 0 deletions optstyle_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !forceposix
// +build !forceposix

package flags
Expand Down
1 change: 1 addition & 0 deletions termsize.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows && !plan9 && !appengine && !wasm && !aix
// +build !windows,!plan9,!appengine,!wasm,!aix

package flags
Expand Down
1 change: 1 addition & 0 deletions termsize_nosysioctl.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build plan9 || appengine || wasm || aix
// +build plan9 appengine wasm aix

package flags
Expand Down
1 change: 1 addition & 0 deletions termsize_windows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package flags
Expand Down

0 comments on commit 30073cd

Please sign in to comment.