Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82f97663 authored by Daniel Norman's avatar Daniel Norman Committed by android-build-merger
Browse files

Merge "Fixes incorrect flag info for the inheritance hierarchy file." am: a022e47a

am: 09ef370c

Change-Id: I4b7bbbc537d790f14b052bd6eefa7778366fac07
parents 5747e85f 09ef370c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -171,12 +171,12 @@ static Result<void> check_stub(const BuiltinArguments& args) {
#include "generated_stub_builtin_function_map.h"

void PrintUsage() {
    std::cout << "usage: host_init_verifier [-p FILE] -k FILE <init rc file>\n"
    std::cout << "usage: host_init_verifier [-p FILE] -i FILE <init rc file>\n"
                 "\n"
                 "Tests an init script for correctness\n"
                 "\n"
                 "-p FILE\tSearch this passwd file for users and groups\n"
                 "-k FILE\tUse this file as a space-separated list of known interfaces\n"
                 "-i FILE\tParse this JSON file for the HIDL interface inheritance hierarchy\n"
              << std::endl;
}

@@ -217,7 +217,7 @@ int main(int argc, char** argv) {
    argc -= optind;
    argv += optind;

    if (argc != 1) {
    if (argc != 1 || interface_inheritance_hierarchy_file.empty()) {
        PrintUsage();
        return EXIT_FAILURE;
    }