feat: minor cleanup.

This commit is contained in:
James Wells 2023-03-06 14:59:28 -08:00
parent 28dd864350
commit b1759291b4
Signed by: jwells
GPG key ID: 73196D10B8E65666
3 changed files with 22 additions and 22 deletions

View file

@ -1,5 +1,5 @@
# G'Agent
[![Maintained Status](https://img.shields.io/maintenance/yes/2021?style=plastic)](https://github.com/dragonheim/gagent)
[![Maintained Status](https://img.shields.io/maintenance/yes/2023?style=plastic)](https://github.com/dragonheim/gagent)
[![License](https://img.shields.io/badge/License-MIT-limegreen.svg)](https://github.com/dragonheim/gagent/src/branch/main/LICENSE)
[![Build Status](https://drone.dragonheim.net/api/badges/dragonheim/gagent/status.svg)](https://drone.dragonheim.net/dragonheim/gagent)

View file

@ -1,9 +1,9 @@
terraform {
required_version = ">= 1.1.7"
required_version = ">= 1.3.1"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.5.0"
version = "~> 4.56.0"
}
}
}

View file

@ -194,33 +194,33 @@ func init() {
* and available arguments / options. Documentation is available at;
* http://docopt.org/
*/
usage := "G'Agents \n"
usage := "G'Agents\n"
usage += "\n"
usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents \n"
usage += " system created by Robert S. Gray of Dartmouth college. \n"
usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents\n"
usage += " system created by Robert S. Gray of Dartmouth college.\n"
usage += "\n"
usage += "Usage: \n"
usage += " gagent client (pull|push) [--config=<config>] [--agent=<file>] \n"
usage += " gagent router [--config=<config>] \n"
usage += " gagent worker [--config=<config>] \n"
usage += " gagent setup [--config=<config>] \n"
usage += " gagent --version \n"
usage += "Usage:\n"
usage += " gagent client (pull|push) [--config=<config>] [--agent=<file>]\n"
usage += " gagent router [--config=<config>]\n"
usage += " gagent worker [--config=<config>]\n"
usage += " gagent setup [--config=<config>]\n"
usage += " gagent --version\n"
usage += "\n"
usage += "Arguments: \n"
usage += " client pull -- Start as a G'Agent client to pull agent results \n"
usage += " client push -- Start as a G'Agent client to push agent \n"
usage += " router -- Start as a G'Agent router \n"
usage += " worker -- Start as a G'Agent worker \n"
usage += " setup -- Write initial configuration file \n"
usage += "Arguments:\n"
usage += " client pull -- Start as a G'Agent client to pull agent results\n"
usage += " client push -- Start as a G'Agent client to push agent\n"
usage += " router -- Start as a G'Agent router\n"
usage += " worker -- Start as a G'Agent worker\n"
usage += " setup -- Write initial configuration file\n"
usage += "\n"
usage += "Options:\n"
usage += " -h --help -- Show this help screen and exit \n"
usage += " --version -- Show version and exit \n"
usage += " --config=<config> -- [default: /etc/gagent/gagent.hcl] \n"
usage += " --agent=<file> -- filename of the agent to be uploaded to the G'Agent network. Required in push mode \n"
usage += " -h --help -- Show this help screen and exit\n"
usage += " --version -- Show version and exit\n"
usage += " --config=<config> -- [default: /etc/gagent/gagent.hcl]\n"
usage += " --agent=<file> -- filename of the agent to be uploaded to the G'Agent network. Required in push mode\n"
usage += "\n"
/*