git: hammer(8): fix snaprm argument parsing
Thomas Nikolajsen
thomas at crater.dragonflybsd.org
Mon Sep 26 12:28:50 PDT 2011
commit aa6862a4cf8948a6ea7deece72545897549ed7a3
Author: Thomas Nikolajsen <thomas at dragonflybsd.org>
Date: Mon Sep 26 21:20:27 2011 +0200
hammer(8): fix snaprm argument parsing
Parse arguments according to SYNOPSIS.
snaprm didn't parse arguments fully:
e.g. PFS symlink was deleted if given as only argument.
DragonFly-bug: <http://bugs.dragonflybsd.org/issue2111>
Submitted-by: fix based on patch from "sgaerner at gmx.net"
Summary of changes:
sbin/hammer/cmd_snapshot.c | 49 ++++++++++++++++++++++++++++++++++++++-----
1 files changed, 43 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa6862a4cf8948a6ea7deece72545897549ed7a3
--
DragonFly BSD source repository
More information about the Commits
mailing list