Home | History | Annotate | Download | only in service
      1 //
      2 //  Copyright (C) 2015 Google, Inc.
      3 //
      4 //  Licensed under the Apache License, Version 2.0 (the "License");
      5 //  you may not use this file except in compliance with the License.
      6 //  You may obtain a copy of the License at:
      7 //
      8 //  http://www.apache.org/licenses/LICENSE-2.0
      9 //
     10 //  Unless required by applicable law or agreed to in writing, software
     11 //  distributed under the License is distributed on an "AS IS" BASIS,
     12 //  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13 //  See the License for the specific language governing permissions and
     14 //  limitations under the License.
     15 //
     16 
     17 #pragma once
     18 
     19 #include <string>
     20 
     21 namespace bluetooth {
     22 namespace switches {
     23 
     24 // List of command-line switches used by the daemon.
     25 const char kHelpLong[] = "help";
     26 const char kHelpShort[] = "h";
     27 const char kAndroidIPCSocketSuffix[] = "android-ipc-socket-suffix";
     28 const char kCreateIPCSocketPath[] = "create-ipc-socket";
     29 
     30 const char kHelpMessage[] =
     31     "\nBluetooth System Service\n"
     32     "\n"
     33     "Usage:\n"
     34     "\t--help,-h\t\t\tShow this help message\n"
     35     "\t--android-ipc-socket-suffix\tSuffix of socket created by Android init. "
     36     "Mutually exclusive with --create-ipc-socket.\n"
     37     "\t--create-ipc-socket\t\tSocket path created for Unix domain socket based "
     38     "IPC. Mutually exclusive with --android-ipc-socket-suffix.\n"
     39     "\t--v\t\t\t\tLog verbosity level (e.g. -v=1)\n";
     40 
     41 }  // namespace switches
     42 }  // namespace bluetooth
     43