@@ -10,7 +10,6 @@ import (
10
10
"encoding/json"
11
11
"errors"
12
12
"fmt"
13
- "github.com/ethereum/go-ethereum"
14
13
"io"
15
14
"math/big"
16
15
"net/http"
@@ -19,6 +18,8 @@ import (
19
18
"strings"
20
19
"time"
21
20
21
+ "github.com/ethereum/go-ethereum"
22
+
22
23
"github.com/ethereum/go-ethereum/accounts/abi/bind"
23
24
"github.com/ethereum/go-ethereum/common"
24
25
"github.com/ethereum/go-ethereum/common/hexutil"
@@ -1316,6 +1317,7 @@ func init() {
1316
1317
RunE : func (cmd * cobra.Command , args []string ) error {
1317
1318
return bridgeAsset (cmd )
1318
1319
},
1320
+ SilenceUsage : true ,
1319
1321
}
1320
1322
bridgeMessageCommand = & cobra.Command {
1321
1323
Use : "message" ,
@@ -1325,6 +1327,7 @@ func init() {
1325
1327
RunE : func (cmd * cobra.Command , args []string ) error {
1326
1328
return bridgeMessage (cmd )
1327
1329
},
1330
+ SilenceUsage : true ,
1328
1331
}
1329
1332
bridgeMessageWETHCommand = & cobra.Command {
1330
1333
Use : "weth" ,
@@ -1334,6 +1337,7 @@ func init() {
1334
1337
RunE : func (cmd * cobra.Command , args []string ) error {
1335
1338
return bridgeWETHMessage (cmd )
1336
1339
},
1340
+ SilenceUsage : true ,
1337
1341
}
1338
1342
claimAssetCommand = & cobra.Command {
1339
1343
Use : "asset" ,
@@ -1343,6 +1347,7 @@ func init() {
1343
1347
RunE : func (cmd * cobra.Command , args []string ) error {
1344
1348
return claimAsset (cmd )
1345
1349
},
1350
+ SilenceUsage : true ,
1346
1351
}
1347
1352
claimMessageCommand = & cobra.Command {
1348
1353
Use : "message" ,
@@ -1352,6 +1357,7 @@ func init() {
1352
1357
RunE : func (cmd * cobra.Command , args []string ) error {
1353
1358
return claimMessage (cmd )
1354
1359
},
1360
+ SilenceUsage : true ,
1355
1361
}
1356
1362
claimEverythingCommand = & cobra.Command {
1357
1363
Use : "claim-everything" ,
@@ -1360,6 +1366,7 @@ func init() {
1360
1366
RunE : func (cmd * cobra.Command , args []string ) error {
1361
1367
return claimEverything (cmd )
1362
1368
},
1369
+ SilenceUsage : true ,
1363
1370
}
1364
1371
emptyProofCommand = & cobra.Command {
1365
1372
Use : "empty-proof" ,
@@ -1368,6 +1375,7 @@ func init() {
1368
1375
RunE : func (cmd * cobra.Command , args []string ) error {
1369
1376
return emptyProof ()
1370
1377
},
1378
+ SilenceUsage : true ,
1371
1379
}
1372
1380
zeroProofCommand = & cobra.Command {
1373
1381
Use : "zero-proof" ,
@@ -1381,6 +1389,7 @@ or if it's actually an intermediate hash.`,
1381
1389
RunE : func (cmd * cobra.Command , args []string ) error {
1382
1390
return zeroProof ()
1383
1391
},
1392
+ SilenceUsage : true ,
1384
1393
}
1385
1394
proofCommand = & cobra.Command {
1386
1395
Use : "proof" ,
@@ -1389,6 +1398,7 @@ or if it's actually an intermediate hash.`,
1389
1398
RunE : func (cmd * cobra.Command , args []string ) error {
1390
1399
return proof (args )
1391
1400
},
1401
+ SilenceUsage : true ,
1392
1402
}
1393
1403
getDepositCommand = & cobra.Command {
1394
1404
Use : "get-deposits" ,
@@ -1397,6 +1407,7 @@ or if it's actually an intermediate hash.`,
1397
1407
RunE : func (cmd * cobra.Command , args []string ) error {
1398
1408
return readDeposit (cmd )
1399
1409
},
1410
+ SilenceUsage : true ,
1400
1411
}
1401
1412
1402
1413
// Arguments for both bridge and claim
0 commit comments