Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xflags
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Go
Application
xflags
Compare revisions
v1.8.2 to v1.8.3
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
oss/libraries/go/application/xflags
Select target project
No results found
v1.8.3
Select Git revision
Swap
Target
oss/libraries/go/application/xflags
Select target project
oss/libraries/go/application/xflags
1 result
v1.8.2
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
fix help request should not removed from errors
· 87a09b2d
Volker Schukai
authored
2 years ago
87a09b2d
Bump version to 1.8.3
· cbcf796f
Volker Schukai
authored
2 years ago
cbcf796f
Update changelog
· 2f3ee8a9
Volker Schukai
authored
2 years ago
2f3ee8a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+7
-0
7 additions, 0 deletions
CHANGELOG.md
api.go
+0
-5
0 additions, 5 deletions
api.go
release.json
+1
-1
1 addition, 1 deletion
release.json
with
8 additions
and
6 deletions
CHANGELOG.md
View file @
2f3ee8a9
<a
name=
"v1.8.3"
></a>
## [v1.8.3] - 2022-10-15
### Bug Fixes
-
fix help request should not removed from errors
<a
name=
"v1.8.2"
></a>
## [v1.8.2] - 2022-10-15
### Bug Fixes
...
...
@@ -96,6 +102,7 @@
<a
name=
"v1.0.0"
></a>
## v1.0.0 - 2022-10-04
[
v1.8.3
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.8.2...v1.8.3
[
v1.8.2
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.8.1...v1.8.2
[
v1.8.1
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.8.0...v1.8.1
[
v1.8.0
]:
https://gitlab.schukai.com/oss/libraries/go/application/xflags/compare/v1.7.0...v1.8.0
...
...
This diff is collapsed.
Click to expand it.
api.go
View file @
2f3ee8a9
...
...
@@ -52,11 +52,6 @@ func execute[C any, D Copyable[D]](cmd C, cnf D, name string, args []string) *Se
instance
.
Parse
(
args
)
if
instance
.
HelpRequested
()
{
for
i
,
err
:=
range
instance
.
errors
{
if
err
==
flag
.
ErrHelp
{
instance
.
errors
=
append
(
instance
.
errors
[
:
i
],
instance
.
errors
[
i
+
1
:
]
...
)
}
}
return
instance
}
...
...
This diff is collapsed.
Click to expand it.
release.json
View file @
2f3ee8a9
{
"version"
:
"1.8.
2
"
}
{
"version"
:
"1.8.
3
"
}
This diff is collapsed.
Click to expand it.