From 3c0fae06b5ae2c59bacd2e3d6a1033f864cd368e Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Thu, 17 Dec 2020 15:03:27 +0100 Subject: 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) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dxvk.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dxvk.c') diff --git a/src/dxvk.c b/src/dxvk.c index 65af7c5..3fb24cc 100644 --- a/src/dxvk.c +++ b/src/dxvk.c @@ -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 \n\nversions are obtained via `" NAME " dxvk list'\n"); + fprintf(stderr, USAGE_STR " dxvk download \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 \n\nInstalled dxvk versions can be obtained by using `" NAME " dxvk list-installed\n"); + fprintf(stderr, USAGE_STR " dxvk remove \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"); } -- cgit v1.2.3