git: DragonFly_RELEASE_2_10 hammer(8): fix snaprm argument parsing

Thomas Nikolajsen thomas at
Mon Sep 26 12:36:02 PDT 2011

commit d62b49e3685ba0c1a8b09c8cf7631f0dbe20ad3a
Author: Thomas Nikolajsen <thomas at>
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: <>
    Submitted-by: fix based on patch from "sgaerner at"

Summary of changes:
 sbin/hammer/cmd_snapshot.c |   49 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 43 insertions(+), 6 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list