From patchwork Fri Oct 25 16:49:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?SZEDER_G=C3=A1bor?= X-Patchwork-Id: 11212673 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BEF9F1390 for ; Fri, 25 Oct 2019 16:49:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D5052053B for ; Fri, 25 Oct 2019 16:49:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ALPhNB+R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408066AbfJYQtP (ORCPT ); Fri, 25 Oct 2019 12:49:15 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38468 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731452AbfJYQtO (ORCPT ); Fri, 25 Oct 2019 12:49:14 -0400 Received: by mail-wm1-f68.google.com with SMTP id 22so2545952wms.3 for ; Fri, 25 Oct 2019 09:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GYVEpgBdS49RKH6l2tbvvF4Dmwjb+r3JAHid1MrIR4E=; b=ALPhNB+RM1ElJqfieb76M8aaaC/7SY6nKs2wXbautIclNdmGX7CgNvLCUEzSzblpC+ KyVYUaBfmonwM7UMZfi3tMNtDFITYMbdVvxogBRD86CPHKd6e1h5PF9+DqfSta3EyD/1 T0kF+RyzdgEuzAOFV8cBesa+I6rSZ1mmR5PpNV6t4HLE3dBrTeDLTQTA56+Wdi2ld3+M Zb7ZKVS+JaoztZNgeQBZx8FVg0J2PbPtCoAjWKv5+Czu4yRijR3o/CJ4R2b82agGETt8 5L9ck7pkGZHs86T5QDf7/9h1LdYTf7wqzzjO9XMXIZW7sqoGXfHTbLULoWqfnMef2nGZ cDig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GYVEpgBdS49RKH6l2tbvvF4Dmwjb+r3JAHid1MrIR4E=; b=qx/9tllx2SX+IQCk9A8NxcyWa/5GF+GEolAyRZLKhoKwqNxuavtmDwL3MnoeYmMbvT Z0WX6kWGe5JQV1NvlGKwz1XkmmcKDz6Co7BG3Q/fgSB+7/zIPEa6PeF7DfesuskABPuO DzlETqtPdbrwuTlUciw/WFKojCOo3OPpBx5NWGoxS/z2zxnOvOCKeHiuDGy2NxnRmGZg 89Z/f7adPjJvH0XojZ+0rsI88b+aYcDMFpByhGulkdYhJMdAHon4QfUbxqT2rd7CSdi5 EUkczCMi86QCfPzeuXscxDZ7FnDnhj0uYgMIY0METwAXpfYjjMLziG4ULamvkOHPfoTz 1bsQ== X-Gm-Message-State: APjAAAVCKV7D8XCEEsy9Zz5HgwBZVFqlq44Yo/s2HH33Fj4SY+WUXTF1 zVtpQIduasAlFhlbKw19ETo= X-Google-Smtp-Source: APXvYqynKC1+oHzgweIXFLougyjFoxh49NwSlT9PQ3209hjMgoJa4ClE1jHA3mU3v/n4AcvjP5GPIw== X-Received: by 2002:a05:600c:2212:: with SMTP id z18mr4741229wml.154.1572022152780; Fri, 25 Oct 2019 09:49:12 -0700 (PDT) Received: from localhost.localdomain (x4db52416.dyn.telefonica.de. [77.181.36.22]) by smtp.gmail.com with ESMTPSA id j63sm3126186wmj.46.2019.10.25.09.49.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Oct 2019 09:49:12 -0700 (PDT) From: =?utf-8?q?SZEDER_G=C3=A1bor?= To: Junio C Hamano Cc: Derrick Stolee , git@vger.kernel.org, =?utf-8?q?SZEDER?= =?utf-8?q?_G=C3=A1bor?= Subject: [PATCH] builtin/commit-graph.c: remove subcommand-less usage string Date: Fri, 25 Oct 2019 18:49:09 +0200 Message-Id: <20191025164909.354-1-szeder.dev@gmail.com> X-Mailer: git-send-email 2.24.0.rc1.538.gfb6e1f15ab MIME-Version: 1.0 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org The first line in 'git commit-graph's usage string indicates that this command can be invoked without specifying a subcommand. However, this is not the case: $ git commit-graph usage: git commit-graph [--object-dir ] or: git commit-graph read [--object-dir ] [...] $ echo $? 129 Remove this line from the usage string. The synopsis in the manpage doesn't contain this line. Signed-off-by: SZEDER Gábor --- builtin/commit-graph.c | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c index c6219ebe11..4d9b9c862f 100644 --- a/builtin/commit-graph.c +++ b/builtin/commit-graph.c @@ -8,7 +8,6 @@ #include "object-store.h" static char const * const builtin_commit_graph_usage[] = { - N_("git commit-graph [--object-dir ]"), N_("git commit-graph read [--object-dir ]"), N_("git commit-graph verify [--object-dir ] [--shallow] [--[no-]progress]"), N_("git commit-graph write [--object-dir ] [--append|--split] [--reachable|--stdin-packs|--stdin-commits] [--[no-]progress] "),