X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=cli.c;h=0e98aa7f5e5b7bc59a5ba149d5cda2a230b7b4e1;hb=c4402a9e59721172395d9403cfbe467209bcd6ad;hp=7bef7a907d876ecfc24bab0169a7ee41cff88b0e;hpb=853f586e4894aba060372b4655334921cda10464;p=uci.git diff --git a/cli.c b/cli.c index 7bef7a9..0e98aa7 100644 --- a/cli.c +++ b/cli.c @@ -224,8 +224,8 @@ static void uci_show_changes(struct uci_package *p) { struct uci_element *e; - uci_foreach_element(&p->saved_history, e) { - struct uci_history *h = uci_to_history(e); + uci_foreach_element(&p->saved_delta, e) { + struct uci_delta *h = uci_to_delta(e); char *prefix = ""; char *op = "="; @@ -653,10 +653,10 @@ int main(int argc, char **argv) ctx->flags &= ~UCI_FLAG_EXPORT_NAME; break; case 'p': - uci_add_history_path(ctx, optarg); + uci_add_delta_path(ctx, optarg); break; case 'P': - uci_add_history_path(ctx, ctx->savedir); + uci_add_delta_path(ctx, ctx->savedir); uci_set_savedir(ctx, optarg); flags |= CLI_FLAG_NOCOMMIT; break;