From patchwork Sat Apr 20 02:11:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Nelson X-Patchwork-Id: 2467651 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id E97BEDF25A for ; Sat, 20 Apr 2013 02:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965531Ab3DTCLg (ORCPT ); Fri, 19 Apr 2013 22:11:36 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:58991 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965508Ab3DTCLf (ORCPT ); Fri, 19 Apr 2013 22:11:35 -0400 Received: by mail-ob0-f173.google.com with SMTP id wn14so4089815obc.32 for ; Fri, 19 Apr 2013 19:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jamponi.net; s=google; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=XfD5zy+IAAyTKFQ+hgNRXWgaIhsYc51QCubgu8+V0Ds=; b=JmyVYIzznqZsdLoVgI0vqgnsmFORitF3aRNj6TfTlsDaKmj9iKFFq7Sf/wCYdgKaE0 wkFOCM0q2OqjQC+9nW3Giehlw7wYCMBshXiacxc16FFFC0NgM23YiM6mfnfhIdNlYYHl 6wO8+Z1o0x348/GCPX2GU4QpI7iJz5SegfJ08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=XfD5zy+IAAyTKFQ+hgNRXWgaIhsYc51QCubgu8+V0Ds=; b=iz20bc0+p3usv5LR2WT92oiS5b5GQgybWzeFJNqqZJw2XMqv+npXQRIoEO7AXg0ACd zGBNihZ84l9/DuHaiHQn7Bqb+dsWyk9kha6j6DSRSnSQ+0EUui4J70jCkxt9kJtBdiH9 53RnS1fRAtYcsC4/akAkQThCDEFG+dKrH/zAR1EJza/an4Yd+k6iqMTH4qkerB2XnS67 o7GNqiIWbdAgMX1LX0WDFvjELrznjzORDaryegLFwuBsmxnyNkwAiVG2pxLL+3++9xlO 740HxoZ2sPkzCKkDXoZCn1wLwxSWoKpCP/j+PiRPUPLjY+Ig+q3UTgE6tt759NRsl9ri 0scw== X-Received: by 10.60.12.170 with SMTP id z10mr5498062oeb.122.1366423894711; Fri, 19 Apr 2013 19:11:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.19.201 with HTTP; Fri, 19 Apr 2013 19:11:14 -0700 (PDT) From: Jon Nelson Date: Fri, 19 Apr 2013 21:11:14 -0500 Message-ID: Subject: minor patch to cmds-restore.c To: linux-btrfs X-Gm-Message-State: ALoCoQmMgAFbUIQLbld40FRGBYR4YRjov7PsBlEEv8AVIZgv4pXpC1pIWQo8AiuvQ7yzgA+RI4HV Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org The following is a minor patch to cmds-restore.c Signed-off-by: Signed-off-by: Jon Nelson --- Jon Software Blacksmith -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/cmds-restore.c b/cmds-restore.c index c75e187..273c813 100644 --- a/cmds-restore.c +++ b/cmds-restore.c @@ -917,14 +917,16 @@ out: } const char * const cmd_restore_usage[] = { - "btrfs restore [options] ", + "btrfs restore [options] [destination]", "Try to restore files from a damaged filesystem (unmounted)", "", + "-l list roots", "-s get snapshots", "-v verbose", "-i ignore errors", "-o overwrite", - "-t tree location", + "-r root location", + "-t tree location", "-f filesystem location", "-u super mirror", "-d find dir",