From 638c5b5065abc80c995a7178513331b5062e82e6 Mon Sep 17 00:00:00 2001 From: Patryk Gudalewicz Date: Tue, 10 Jan 2023 09:41:45 +0100 Subject: [PATCH 1/2] Changing F parameter to optional --- onboarding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onboarding.py b/onboarding.py index e6d019c1..8709dfbf 100644 --- a/onboarding.py +++ b/onboarding.py @@ -7,7 +7,7 @@ parser = argparse.ArgumentParser(description="Generate predefined Dynatrace conf parser.add_argument("-A", "--appname", type=str,required=True, help="Your app_name") parser.add_argument('-C', "--compassid", type=str,required=True, help="Your compass_id") -parser.add_argument('-F', "--features", type=str,required=True, help="Comma separated additional features. Possible options are: custom_service, processgroup_naming, service_naming") +parser.add_argument('-F', "--features", type=str,required=False, help="Comma separated additional features. Possible options are: custom_service, processgroup_naming, service_naming") args = parser.parse_args() #Config options for onboarding. Will be extended with other configuration options in future From a1704dbaabc9371d817f746047dbaa497de97de9 Mon Sep 17 00:00:00 2001 From: Patryk Gudalewicz Date: Tue, 10 Jan 2023 09:46:04 +0100 Subject: [PATCH 2/2] Changing readme --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index a23ed5fd..de1cc893 100644 --- a/readme.md +++ b/readme.md @@ -56,8 +56,7 @@ For more information about adjusting tf files to your need please follow: -C COMPASSID, --compassid COMPASSID Your compass_id (default: None) -F FEATURES, --features FEATURES - Comma separated additional features. Possible options are: custom_service, notification, processgroup_naming, service_naming (default: - None) + Comma separated additional features. Possible options are: custom_service,processgroup_naming,service_naming (default: None) # Files