Skip to content

Commit

Permalink
main: Remove mentions of 'APT' + replace wording for 'online reposito…
Browse files Browse the repository at this point in the history
…ries' => 'remote repositories'

Signed-off-by: Timo Reichl <[email protected]>
  • Loading branch information
thetredev committed Oct 3, 2023
1 parent 393a52f commit 18578ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ DESCRIPTION:
COMMANDS:
xdeb installs the xdeb utility to the system along with its dependencies
repository, r install a package from an online APT repository
search, s search online APT repositories for a package
sync sync online APT repositories
repository, r install a package from an remote repository
search, s search remote repositories for a package
sync sync remote repositories
url, u install a package from a URL directly
file, f install a package from a local DEB file
help, h Shows a list of commands or help for one command
clean, c cleanup temporary xdeb context root path, optionally the repository lists as well
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--options value, -o value override XDEB_OPTS, '-i' will be removed if provided (default: "-Sde")
Expand Down
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func findDistribution(provider string, distribution string) (string, error) {

if !slices.Contains(distributions, distribution) {
return "", fmt.Errorf(
"APT provider %s does not support distribution %s. Omit or use any of %v",
"Provider %s does not support distribution %s. Omit or use any of %v",
provider, distribution, distributions,
)
}
Expand All @@ -78,7 +78,7 @@ func findProvider(provider string) (string, error) {
}

if !slices.Contains(providers, provider) {
return "", fmt.Errorf("APT provider %s not supported. Omit or use any of %v", provider, providers)
return "", fmt.Errorf("Provider %s not supported. Omit or use any of %v", provider, providers)
}

return provider, nil
Expand Down Expand Up @@ -341,7 +341,7 @@ func main() {
},
{
Name: "repository",
Usage: "install a package from an online APT repository",
Usage: "install a package from an remote repository",
Aliases: []string{"r"},
Action: repository,
Flags: []cli.Flag{
Expand All @@ -357,7 +357,7 @@ func main() {
},
{
Name: "search",
Usage: "search online APT repositories for a package",
Usage: "search remote repositories for a package",
Aliases: []string{"s"},
Action: search,
Flags: []cli.Flag{
Expand All @@ -373,7 +373,7 @@ func main() {
},
{
Name: "sync",
Usage: "sync online APT repositories",
Usage: "sync remote repositories",
Action: sync,
},
{
Expand Down

0 comments on commit 18578ba

Please sign in to comment.