Why does this separate into multiple arguments wtf bash

This commit is contained in:
Zergling_man 2024-11-03 15:51:25 +11:00
parent 19141954e9
commit 8ab582e450
3 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Maintainer: Zergling_man, from fedora.email
pkgname=swat-codegen
pkgver=1.0.2
pkgver=1.0.3
pkgrel=1
pkgdesc="A simple CLI interface to RCPDv3, the rank code management service for the game SWAT: Aftermath"
arch=('any')

View File

@ -31,7 +31,7 @@ function get
function post
{
TOKE=`get_token`
curl -H "Authorization:Bearer $TOKE" https://swataftermath.com:9443/account/$1 --json "$2"
curl -H "Authorization:Bearer $TOKE" https://swataftermath.com:9443/account/$1 --json "${*:2}"
}
function delete_code