about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-12T12·26-0500
committerShea Levy <shea@shealevy.com>2014-02-12T12·26-0500
commit7438f0bc2bc4b92bddf7159744ab2923e34b7457 (patch)
tree123a5ef73e40a640d6b4ebad77a755cd866de00a /src
parent2246aa77d291e07141f6a508e46730e2c28e1d84 (diff)
error messages start in lowercase
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src')
-rw-r--r--src/download-via-ssh/download-via-ssh.cc2
-rw-r--r--src/nix-store/nix-store.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc
index 5aa1e00ee38a..dee4fd78c9d0 100644
--- a/src/download-via-ssh/download-via-ssh.cc
+++ b/src/download-via-ssh/download-via-ssh.cc
@@ -89,7 +89,7 @@ static void query(std::pair<FdSink, FdSource> & pipes) {
                 std::cout << readLongLong(pipes.second) << std::endl;
             }
         } else
-            throw Error(format("Unknown substituter query `%1%'") % cmd);
+            throw Error(format("unknown substituter query `%1%'") % cmd);
         std::cout << std::endl;
     }
 }
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 638d24498821..038f099649b0 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -888,7 +888,7 @@ static void opServe(Strings opFlags, Strings opArgs)
                         }
                         break;
                     default:
-                        throw Error(format("Unknown serve query `%1%'") % cmd);
+                        throw Error(format("unknown serve query `%1%'") % cmd);
                 }
                 out.flush();
             }
@@ -897,7 +897,7 @@ static void opServe(Strings opFlags, Strings opArgs)
             dumpPath(readString(in), out);
             break;
         default:
-            throw Error(format("Unknown serve command `%1%'") % cmd);
+            throw Error(format("unknown serve command `%1%'") % cmd);
     }
 }