From 9b52de31e7af2bc35199cfa717631d3ed1032973 Mon Sep 17 00:00:00 2001 From: Thierry Deo Date: Wed, 26 Jun 2019 17:25:30 +0200 Subject: [PATCH] Accept skip as alias of offset --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 2a885f9..4a72cb5 100644 --- a/index.js +++ b/index.js @@ -35,6 +35,8 @@ module.exports = function(app, options) { if (ctx.args.filter.offset) offset = ctx.args.filter.offset; + else if (ctx.args.filter.skip) + offset = ctx.args.filter.skip; else ctx.args.filter.offset = offset;