From 20a13e4daca97081049c1d78070d3f7561d0f3a9 Mon Sep 17 00:00:00 2001 From: bergyu Date: Mon, 19 Jul 2021 21:55:05 +0800 Subject: [PATCH] opt some --- misc/chrome/chrome.shy | 6 ++---- misc/chrome/sync.go | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/misc/chrome/chrome.shy b/misc/chrome/chrome.shy index 1710ea26..893ce9d4 100644 --- a/misc/chrome/chrome.shy +++ b/misc/chrome/chrome.shy @@ -4,18 +4,16 @@ refer "官网" ` 文档 https://developer.mozilla.org/ 源码 https://github.com/chromium/chromium/ ` -premenu - chapter "安装" field chrome web.code.chrome.chrome chapter "应用" field "同步流" web.code.chrome.sync field "收藏夹" web.code.chrome.favor - -field "浏览器" web.space field "蜘蛛侠" web.code.chrome.spide + field "缓存池" web.code.chrome.cache +field "浏览器" web.space section "命令行" refer ` diff --git a/misc/chrome/sync.go b/misc/chrome/sync.go index 177d579e..0611b41e 100644 --- a/misc/chrome/sync.go +++ b/misc/chrome/sync.go @@ -48,7 +48,7 @@ func init() { m.Cmdy(FAVOR, ice.OptionFields("zone,count,time")) } }}, - FAVOR: {Name: "favor zone name", Help: "收藏", Hand: func(m *ice.Message, arg ...string) { + FAVOR: {Name: "favor zone=some name", Help: "收藏", Hand: func(m *ice.Message, arg ...string) { m.Cmdy(m.Prefix(FAVOR), mdb.INSERT, m.OptionSimple("zone,type,name,text")) }}, }, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {