diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-12-17 15:03:27 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-12-17 15:03:27 +0100 |
commit | 3c0fae06b5ae2c59bacd2e3d6a1033f864cd368e (patch) | |
tree | 76c98db3ac25a441be13189e185ef2a586484384 /src/dxvk.c | |
parent | 1ca0317a351f3075b2ea0b9bb5e59ccb4bcb960b (diff) | |
download | polecat-3c0fae06b5ae2c59bacd2e3d6a1033f864cd368e.tar.gz polecat-3c0fae06b5ae2c59bacd2e3d6a1033f864cd368e.zip |
replace gnu style quoting with normal quoting, comment command macros, …
- gnu style quoting (`text') has been replaced with normal quoting ('text')
- the command macros defined in command.h have been commented to explain how they are intended to be used and why they are how they
- the macro that generates the command group function now prints a message if the given command has not been found (this probably needs to be extended to the other commands to be consistent)
Diffstat (limited to 'src/dxvk.c')
-rw-r--r-- | src/dxvk.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -81,7 +81,7 @@ COMMAND(dxvk, download) } else { - fprintf(stderr, "Could not find `%s'\n", choice); + fprintf(stderr, "Could not find '%s'\n", choice); } json_object_put(runner); @@ -89,7 +89,7 @@ COMMAND(dxvk, download) } else { - fprintf(stderr, USAGE_STR " dxvk download <version>\n\nversions are obtained via `" NAME " dxvk list'\n"); + fprintf(stderr, USAGE_STR " dxvk download <version>\n\nversions are obtained via '" NAME " dxvk list'\n"); } return 0; } @@ -109,7 +109,7 @@ COMMAND(dxvk, remove) if (!isDir(dxvkpath)) { - fprintf(stderr, "`%s' is not an downloaded DXVK version\n", dxvkver); + fprintf(stderr, "'%s' is not an downloaded DXVK version\n", dxvkver); return 0; } @@ -126,7 +126,7 @@ COMMAND(dxvk, remove) return retval; } - fprintf(stderr, USAGE_STR " dxvk remove <version>\n\nInstalled dxvk versions can be obtained by using `" NAME " dxvk list-installed\n"); + fprintf(stderr, USAGE_STR " dxvk remove <version>\n\nInstalled dxvk versions can be obtained by using '" NAME " dxvk list-installed\n"); return 0; } @@ -167,7 +167,7 @@ COMMAND(dxvk, install) if (!isDir(dxvkpath)) { - fprintf(stderr, "`%s' is not an downloaded DXVK version\n", dxvkver); + fprintf(stderr, "'%s' is not an downloaded DXVK version\n", dxvkver); return 0; } @@ -181,13 +181,13 @@ COMMAND(dxvk, install) } else { - fprintf(stderr, "cannot find the setup script for `%s'\n", dxvkver); + fprintf(stderr, "cannot find the setup script for '%s'\n", dxvkver); } } else { - fprintf(stderr, "Specify a what DXVK version to install.\nUse `" NAME " dxvk list-installed' to list available versions\n"); + fprintf(stderr, "Specify a what DXVK version to install.\nUse '" NAME " dxvk list-installed' to list available versions\n"); } |