about summary refs log tree commit diff
path: root/src/libmain/shared.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T15·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-20T16·03+0200
commit11849a320e4f522b97fcdf09ff0940496880475b (patch)
tree13548f1c1bb2e01590b31d66d9bb8f46534bc99f /src/libmain/shared.hh
parent373fad75e19a2f24db512621b8cedb627d03d49d (diff)
Use proper quotes everywhere
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r--src/libmain/shared.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh
index c56203daefa2..b662c6ccea96 100644
--- a/src/libmain/shared.hh
+++ b/src/libmain/shared.hh
@@ -46,7 +46,7 @@ template<class N> N getIntArg(const string & opt,
     Strings::iterator & i, const Strings::iterator & end, bool allowUnit)
 {
     ++i;
-    if (i == end) throw UsageError(format("`%1%' requires an argument") % opt);
+    if (i == end) throw UsageError(format("‘%1%’ requires an argument") % opt);
     string s = *i;
     N multiplier = 1;
     if (allowUnit && !s.empty()) {
@@ -56,13 +56,13 @@ template<class N> N getIntArg(const string & opt,
             else if (u == 'M') multiplier = 1ULL << 20;
             else if (u == 'G') multiplier = 1ULL << 30;
             else if (u == 'T') multiplier = 1ULL << 40;
-            else throw UsageError(format("invalid unit specifier `%1%'") % u);
+            else throw UsageError(format("invalid unit specifier ‘%1%’") % u);
             s.resize(s.size() - 1);
         }
     }
     N n;
     if (!string2Int(s, n))
-        throw UsageError(format("`%1%' requires an integer argument") % opt);
+        throw UsageError(format("‘%1%’ requires an integer argument") % opt);
     return n * multiplier;
 }