diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-26 06:13:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-26 06:13:06 -0700 |
commit | 75e61c9d4d8b4d41d4ec9150d1b791eeeda9d1a0 (patch) | |
tree | ddc237f06b37329f4c55f51b4212d9feba6d2d57 /txr.c | |
parent | ec6464ed8b79e669b4d591f128757404a7e6d0bc (diff) | |
download | txr-75e61c9d4d8b4d41d4ec9150d1b791eeeda9d1a0.tar.gz txr-75e61c9d4d8b4d41d4ec9150d1b791eeeda9d1a0.tar.bz2 txr-75e61c9d4d8b4d41d4ec9150d1b791eeeda9d1a0.zip |
Change misleading missing license diagnostic.
* txr.c (license): Do not say that the TXR installation
might be unlicensed; there is no such licensing condition
that the license must be present at run-time.
Just state the fact of being unable to display it.
Diffstat (limited to 'txr.c')
-rw-r--r-- | txr.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -353,7 +353,7 @@ static int license(void) #endif if (!path_list) - uw_throwf(error_s, lit("Error: pattern ~a didn't match any files."), + uw_throwf(error_s, lit("pattern ~a didn't match any files."), glob_pattern, nao); put_char(chr('\n'), std_output); @@ -368,8 +368,8 @@ static int license(void) uw_catch (esym, eargs) { format(std_output, - lit("~a\nThis TXR installation might be unlicensed.\n"), - car(eargs), nao); + lit("~a: unable to display license file: ~a\n"), + prog_string, car(eargs), nao); retval = EXIT_FAILURE; } |