You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/08/27 15:47:34 UTC

[trafficserver] branch 9.0.x updated: remove useless shortopt (#7138)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 8468f22  remove useless shortopt (#7138)
8468f22 is described below

commit 8468f22f14e0aa6d12543dca68f0f96adb6784bb
Author: Suger <ch...@staff.sina.com.cn>
AuthorDate: Thu Aug 27 23:47:02 2020 +0800

    remove useless shortopt (#7138)
    
    (cherry picked from commit 2bb7c89930fba54b95cc5f27c4bf53d6d4d38339)
---
 plugins/cache_promote/configs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/cache_promote/configs.cc b/plugins/cache_promote/configs.cc
index 48a9f54..82e1302 100644
--- a/plugins/cache_promote/configs.cc
+++ b/plugins/cache_promote/configs.cc
@@ -48,7 +48,7 @@ bool
 PromotionConfig::factory(int argc, char *argv[])
 {
   while (true) {
-    int opt = getopt_long(argc, (char *const *)argv, "psbhe", longopt, nullptr);
+    int opt = getopt_long(argc, (char *const *)argv, "", longopt, nullptr);
 
     if (opt == -1) {
       break;