v2.6.0: support -L <locale> to specify request locale
diff --git a/ChangeLog b/ChangeLog
index da696cf..07ccc49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Version 2.5
+Version 2.6.0
+  - add '-L <locale>' flag to specify request-locale
+
+Version 2.5.0
   - 'wsman -h' exits with zero
   - properties and selectors are kept sorted
     (requires Openwsman 2.5 now)
diff --git a/configure.in b/configure.in
index 462c948..c22a1d4 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-AC_INIT(wsmancli, 2.5.0)
+AC_INIT(wsmancli, 2.6.0)
 AC_CONFIG_SRCDIR(wsmancli.spec.in)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AM_CONFIG_HEADER(config.h)
@@ -18,7 +18,7 @@
 PACKAGE_BUILDTS=`date +%Y%m%d%H%M`
 AC_SUBST(PACKAGE_BUILDTS)
 
-PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.5])
+PKG_CHECK_MODULES(OPENWSMAN, [openwsman >= 2.6.0])
 have_cunit=no
 AC_CHECK_HEADERS([CUnit/Basic.h], have_cunit="yes" )
 AM_CONDITIONAL(BUILD_CUNIT_TESTS, test "$have_cunit" == "yes")
diff --git a/src/wsman.c b/src/wsman.c
index d342ff1..cb735d4 100644
--- a/src/wsman.c
+++ b/src/wsman.c
@@ -103,6 +103,7 @@
 
 static char *cim_namespace = NULL;
 static char *fragment = NULL;
+static char *locale = NULL;
 static char *wsm_filter = NULL;
 static char *wsm_dialect = NULL;
 static char *input = NULL;
@@ -249,6 +250,8 @@
 			"maximal envelope size", "<size>"},
 		{"fragment", 'F', U_OPTION_ARG_STRING, &fragment,
 			"Fragment (Supported Dialects: XPATH)", "<fragment>"},
+		{"locale", 'L', U_OPTION_ARG_STRING, &locale,
+			"Locale for this request", "<RFC 5646 language code>"},
 		{NULL}
 	};
 
@@ -740,6 +743,9 @@
 	if (fragment) {
 		options->fragment = fragment;
 	}
+	if (locale) {
+		options->locale = locale;
+	}
 
 	wsman_options_set_properties(options);
 	options->cim_ns = cim_namespace;