From 65e2c3559b451315935f9483c5f4e59d63441e54 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Feb 2008 06:05:08 +0100 Subject: [PATCH] implement uci revert --- cli.c | 10 ++++- file.c | 6 +-- history.c | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++---- uci.h | 9 ++++ util.c | 5 +++ 5 files changed, 149 insertions(+), 13 deletions(-) diff --git a/cli.c b/cli.c index c3e92e3..946a905 100644 --- a/cli.c +++ b/cli.c @@ -31,6 +31,7 @@ enum { CMD_SET, CMD_DEL, CMD_RENAME, + CMD_REVERT, /* package cmds */ CMD_SHOW, CMD_IMPORT, @@ -49,6 +50,7 @@ static void uci_usage(int argc, char **argv) "\tget .
[.